feat: 각 7개 추가 (골프·집콕·낚시·드라이브·연날리기·물놀이·김장)

This commit is contained in:
minaChoi committed 2026-10-08 09:05:18 +09:00
1 parent e8382f450b
commit b130b32f0b
15 files changed
+726 -13

No files matched your search

+2 -2
View File
@@ -51,11 +51,11 @@ def fakes(monkeypatch):
@pytest.mark.anyio
async def test_index_list_ranks_all_27_with_today_tomorrow_weekend_trend(fakes):
async def test_index_list_ranks_all_34_with_today_tomorrow_weekend_trend(fakes):
async with AsyncClient(transport=ASGITransport(app=app), base_url="http://test") as client:
body = (await client.get("/v1/index/list", params={"region": REGION})).json()
assert body["result"]["success"] is True
assert len(body["items"]) == 27 and len(body["top3"]) == 3
assert len(body["items"]) == 34 and len(body["top3"]) == 3
scores = [i["score"] for i in body["items"]]
assert scores == sorted(scores, reverse=True)
today = now_kst().date()