X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wrpylib.git/blobdiff_plain/2fec355f291aeac7e94a5dc228a83d528d32600a..8192142d7304ea4f09cbe0635ca2c46b97ad1882:/tests/test_wrmwmarkup.py diff --git a/tests/test_wrmwmarkup.py b/tests/test_wrmwmarkup.py index c0990c9..393db5c 100644 --- a/tests/test_wrmwmarkup.py +++ b/tests/test_wrmwmarkup.py @@ -136,19 +136,19 @@ def test_create_wrmap(): 'geometry': { 'type': 'Point', 'coordinates': [11.190454, 47.240689]}, - 'properties': {'type': 'inn', 'name': u'Rosskogelhütte', 'wiki': u'Rosskogelhütte'} + 'properties': {'type': 'gasthaus', 'name': u'Rosskogelhütte', 'wiki': u'Rosskogelhütte'} }, { 'type': 'Feature', 'geometry': { 'type': 'Point', 'coordinates': [11.238971, 47.245789]}, - 'properties': {'type': 'carpark'} + 'properties': {'type': 'parkplatz'} }, { 'type': 'Feature', 'geometry': { 'type': 'Point', 'coordinates': [11.238283, 47.245711]}, - 'properties': {'type': 'busstop', 'name': u'Oberperfuss Rangger Köpfl Lift'} + 'properties': {'type': 'haltestelle', 'name': u'Oberperfuss Rangger Köpfl Lift'} }, { 'type': 'Feature', 'geometry': { @@ -157,7 +157,7 @@ def test_create_wrmap(): [11.203360, 47.238587], [11.230868, 47.244951], [11.237853, 47.245470]]}, - 'properties': {'type': 'sledrun'} + 'properties': {'type': 'rodelbahn'} }], 'properties': { 'lon': 11.21408895, @@ -171,9 +171,9 @@ def test_create_wrmap(): assert wikitext == textwrap.dedent(u'''\ - 47.240689 11.190454 - 47.245789 11.238971 - 47.245711 11.238283 + 47.240689 N 11.190454 E + 47.245789 N 11.238971 E + 47.245711 N 11.238283 E 47.238587 N 11.203360 E