Fetch model forecasts on scan refresh

This commit is contained in:
2569718930@qq.com
2026-06-30 12:12:20 +08:00
parent 1da32c4593
commit a5f6bca527
2 changed files with 16 additions and 13 deletions
+2
View File
@@ -328,6 +328,7 @@ def test_scan_city_terminal_rows_rejects_expired_panel_cache(monkeypatch):
return True
monkeypatch.setattr(scan_terminal_city_row, "_PANEL_CACHE_DB", _Cache())
monkeypatch.setattr(scan_terminal_city_row._weather, "fetch_multi_model", lambda *args, **kwargs: None)
result = scan_terminal_city_row._scan_city_terminal_rows(
"paris",
@@ -466,6 +467,7 @@ def test_scan_city_terminal_rows_uses_canonical_without_analyze(monkeypatch):
return True
monkeypatch.setattr(scan_terminal_city_row, "_PANEL_CACHE_DB", _Cache())
monkeypatch.setattr(scan_terminal_city_row._weather, "fetch_multi_model", lambda *args, **kwargs: None)
monkeypatch.setattr(
scan_terminal_city_row,
"_analyze",