修复测试:high_freq_airport_push 测试适配全城市覆盖

Tested: pytest 184 passed
Directive: 测试断言从单城市精确匹配改为验证 force_refresh_observations_only 参数 + qingdao 在调用列表中
This commit is contained in:
2569718930@qq.com
2026-05-23 20:44:36 +08:00
parent 219fda39d9
commit 4c97314805
+4 -1
View File
@@ -112,7 +112,10 @@ def test_high_freq_airport_push_forces_analysis_refresh(monkeypatch):
)
assert sent is True
assert calls == [("qingdao", False, True)]
# All cities processed with force_refresh_observations_only=True
assert len(calls) >= 1
assert all(c[2] is True for c in calls)
assert ("qingdao", False, True) in calls
assert bot.messages