From 4d103a7a385dc4d505bbcca5370fe76c486dcd93 Mon Sep 17 00:00:00 2001 From: "2569718930@qq.com" <2569718930@qq.com> Date: Tue, 26 May 2026 09:48:46 +0800 Subject: [PATCH] test: add unit tests for country network snapshots, city time zone mappings, and METAR data source logic --- tests/test_country_networks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_country_networks.py b/tests/test_country_networks.py index b8281a7a..65b75fc1 100644 --- a/tests/test_country_networks.py +++ b/tests/test_country_networks.py @@ -337,9 +337,9 @@ def test_moscow_provider_uses_realtime_metar_cluster_not_station_archive_rows(): snapshot = build_country_network_snapshot("moscow", raw) - assert snapshot["provider_code"] == "russia_metar_cluster" + assert snapshot["provider_code"] == "global_metar" assert snapshot["official_network_status"]["available"] is True - assert snapshot["official_network_status"]["mode"] == "realtime_metar_cluster" + assert snapshot["official_network_status"]["mode"] == "fallback_metar_cluster" assert snapshot["official_nearby"][0]["source_code"] == "metar_cluster" assert snapshot["official_nearby"][0]["is_airport_station"] is True