diff --git a/stations.yaml b/stations.yaml index 34ac8b9..861ab1c 100644 --- a/stations.yaml +++ b/stations.yaml @@ -271,3 +271,14 @@ lat: 43.4138 lon: 4.73202 +# Japan +- name: Niseko + api_name: Niseko+Town + region: Japan + lat: 42.7787 + lon: 140.669 + +- name: Hakuba + region: Japan + lat: 36.6982 + lon: 137.862 \ No newline at end of file diff --git a/test/test_location.py b/test/test_location.py index 130aeae..2cf11b8 100644 --- a/test/test_location.py +++ b/test/test_location.py @@ -37,7 +37,7 @@ def test_station_config_has_valid_region(station_config): regions = [ 'Grisons', 'Glarus', 'Zurich', 'Basilea', 'Ticino', "Romandie", "Central Switzerland", "Valais", "Canton Berne", "Eastern Switzerland", - "Aargau/Solothurn", "France" + "Aargau/Solothurn", "France", "Japan" ] for station in station_config: assert station[