Skip to content

Commit d5b4838

Browse files
committed
add Japan
1 parent f4d511b commit d5b4838

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

stations.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,3 +271,14 @@
271271
lat: 43.4138
272272
lon: 4.73202
273273

274+
# Japan
275+
- name: Niseko
276+
api_name: Niseko+Town
277+
region: Japan
278+
lat: 42.7787
279+
lon: 140.669
280+
281+
- name: Hakuba
282+
region: Japan
283+
lat: 36.6982
284+
lon: 137.862

test/test_location.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_station_config_has_valid_region(station_config):
3737
regions = [
3838
'Grisons', 'Glarus', 'Zurich', 'Basilea', 'Ticino', "Romandie",
3939
"Central Switzerland", "Valais", "Canton Berne", "Eastern Switzerland",
40-
"Aargau/Solothurn", "France"
40+
"Aargau/Solothurn", "France", "Japan"
4141
]
4242
for station in station_config:
4343
assert station[

0 commit comments

Comments
 (0)