Merge branch 'main' into feat/open-meteo

# Conflicts:
#	backend/router/v1/index/index.py
#	backend/services/calc/index_calc.py
#	backend/services/index_service.py
#	backend/tests/conftest.py
#	backend/tests/test_index_api.py
#	backend/tests/test_index_calc.py
#	backend/tests/test_sky_api.py
#	backend/worker_main.py
This commit is contained in:
skkim committed 2026-10-07 10:07:54 +09:00
commit 1a1df4bb87
111 files changed
+5787 -679

No files matched your search

+5 -4
View File
@@ -118,10 +118,11 @@ def offline(monkeypatch):
monkeypatch.setattr(warning_service, "fetch_warning_events", lambda *a: _async([]))
monkeypatch.setattr(sky_service, "fetch_clouds", clouds)
monkeypatch.setattr(jobs, "fetch_weather", openmeteo_weather)
monkeypatch.setattr(week_service, "fetch_mid", lambda *a: _async(({}, {})))
monkeypatch.setattr(weather_service, "fetch_mid", lambda *a: _async(({}, {})))
monkeypatch.setattr(week_service, "fetch_holidays", lambda *a: _async([]))
monkeypatch.setattr(week_service, "fetch_festivals", lambda *a: _async([{
monkeypatch.setattr(week_service, "fetch_festivals", lambda c, sido, since: _async([{
"contentid": "77", "title": "테스트 축제", "addr1": "서울", "eventstartdate": now.strftime("%Y%m%d"),
"eventenddate": (now + timedelta(days=2)).strftime("%Y%m%d"),
}]))
"eventenddate": (now + timedelta(days=2)).strftime("%Y%m%d"), "firstimage": "http://tong.visitkorea.or.kr/test.jpg",
}] if sido == "11" else []))
monkeypatch.setattr(week_service, "fetch_exhibitions", lambda *a: _async([]))
monkeypatch.setattr(season_service, "fetch_solar_terms", lambda *a: _async([]))