fix: 지역 단위를 시군구 256곳으로 되돌림 (일반구 포함)
This commit is contained in:
1 parent
8e40242c22
commit
a7a6dd49d0
7 files changed
+49
-36
No files matched your search
@@ -10,12 +10,10 @@ async def _get(path: str, **params):
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
async def test_region_list_is_seoul_gu_and_city_county_elsewhere():
|
||||
async def test_region_list_has_all_256_districts():
|
||||
body = await _get("/v1/region/list")
|
||||
assert body["result"]["success"] is True
|
||||
assert len(body["regions"]) == 230
|
||||
names = {r["name"] for r in body["regions"]}
|
||||
assert "경기 수원시" in names and "경기 수원시 장안구" not in names
|
||||
assert len(body["regions"]) == 256
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
||||
Reference in new issue
Block a user