fix: 서울문화포털 축제 이름 앞 [주최 기관] 떼기

This commit is contained in:
minaChoi committed 2026-10-08 13:08:09 +09:00
1 parent b4fcb313c7
commit f1a46ea4a2
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -17,6 +17,7 @@ def test_parse_reads_lat_from_x_and_builds_image_and_link():
[row] = parse_seoul_festivals([ITEM, {**ITEM, "cultcode": None}, {**ITEM, "cultcode": 2, "strtdate": ""}])
assert row["source_id"] == "seoul:159216" and row["sido_code"] == "11"
assert (row["lat"], row["lon"]) == (37.51182, 127.05916)
assert row["name"] == "2026 중랑용마폭포축제"
assert row["place_name"] == "용마폭포공원" and row["start_date"] == date(2026, 10, 10)
assert row["image_url"].endswith("atchFileId=abc&thumb=Y") and "cultcode=159216" in row["source_url"]