fix: 초단기예보가 닿는 시간은 비·비 없음 모두 초단기예보를 따르게 (단기예보에 남은 비로 '지금' 칸·우산각이 비로 나오던 것)

This commit is contained in:
minaChoi committed 2026-10-13 13:22:42 +09:00
1 parent e28a2e297e
commit 012d8a4821
9 files changed
+86 -96

No files matched your search

+1 -2
View File
@@ -80,7 +80,6 @@ def offline(monkeypatch):
import scheduler.jobs as jobs
import services.air_service as air_service
import services.now_service as now_service
import services.season_service as season_service
import services.sky_service as sky_service
import services.warning_service as warning_service
@@ -118,7 +117,7 @@ def offline(monkeypatch):
clear = [("TMP", "20"), ("SKY", "1"), ("PTY", "0"), ("POP", "0"), ("PCP", "강수없음"), ("REH", "50"), ("WSD", "1.5")]
monkeypatch.setattr(weather_service, "fetch_vilage", lambda *a: _async(hourly(24 * 4, clear)))
monkeypatch.setattr(now_service, "fetch_ultra", lambda *a: _async(hourly(24 * 2, [("PTY", "0"), ("RN1", "강수없음"), ("T1H", "20")])))
monkeypatch.setattr(weather_service, "fetch_ultra", lambda *a: _async(hourly(24 * 2, [("PTY", "0"), ("RN1", "강수없음"), ("T1H", "20")])))
monkeypatch.setattr(air_service, "fetch_stations", lambda *a: _async([{"stationName": "테스트", "dmX": "37.56", "dmY": "126.91"}]))
monkeypatch.setattr(air_service, "fetch_realtime", lambda *a: _async([{
"stationName": "테스트", "pm25Value": "10", "pm10Value": "20", "pm25Grade": "1", "pm10Grade": "1",