feat: 사주 금전·일은 이번 주에 정할 날로, 올해 운에 잘 맞는 달, 레벨업 창에서 열린 칸으로 바로 가기
- 금전·일: 오늘 카드를 되풀이하지 않고 이번 주 중 결제·계약할 날, 돈 빌려주기 피할 날, 보고·면접 잡을 날 - 올해 운: 잘 맞는 달 3개, 11월부터는 다음 해 미리 보기 - 레벨업 창 '…보러 가기' → /saju#칸, 내 레벨 창의 각 모으는 일 줄을 누르면 그 화면으로 - 궁합 결과에 상대 생일과 다른 사람 보기
This commit is contained in:
1 parent
e4834fd24e
commit
cb013fcc9a
7 files changed
+121
-28
No files matched your search
@@ -61,14 +61,14 @@ async def test_level_unlocks_sections_and_awards_once(offline):
|
||||
r = (await c.post("/v1/saju/reading", json={**BIRTH, "gender": "male"}, headers=h4)).json()
|
||||
assert r["level"] == 4
|
||||
assert len(r["week"]) == 7 and sum(d["best"] for d in r["week"]) == 1
|
||||
assert r["money"] and r["work"] and r["love"]["gender_known"] is True
|
||||
assert r["money"] and r["work"] and all(isinstance(x, str) for x in r["money"]) and r["love"]["gender_known"] is True
|
||||
assert "month" not in r and "year" not in r
|
||||
unlocked = {x["key"]: x["unlocked"] for x in r["locks"]}
|
||||
assert unlocked["saju_love"] and not unlocked["saju_match"]
|
||||
|
||||
h7 = await _login(c, "saju_07", points=1000)
|
||||
r = (await c.post("/v1/saju/reading", json=BIRTH, headers=h7)).json()
|
||||
assert r["month"]["title"].endswith("달") and r["year"]["label"].endswith("년")
|
||||
assert r["month"]["title"].endswith("달") and "년" in r["year"]["label"] and len(r["year"]["months"]) == 3
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
||||
Reference in new issue
Block a user