测试 mock 方法名同步为 _amsc_http_get_json

This commit is contained in:
2569718930@qq.com
2026-05-15 04:20:52 +08:00
parent c031dd0e28
commit 3845432ac2
+1 -1
View File
@@ -80,7 +80,7 @@ def test_fetch_amsc_official_current_uses_domestic_city_whitelist():
class FakeCollector(AmscAwosSourceMixin):
timeout = 1.0
def _http_get_json(self, url, *, headers=None):
def _amsc_http_get_json(self, url, *, headers=None):
assert "getWindPlate?cccc=ZBAA" in url
return ZBAA_SAMPLE