Changed number of digits for lat/lon to 6 (as it should be). Now the test passes.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 8 Mar 2014 19:42:41 +0000 (19:42 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Sat, 8 Mar 2014 19:42:41 +0000 (19:42 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@1908 7aebc617-e5e2-0310-91dc-80fb5f6d2477

tests/test_wrmwmarkup.py

index 1eaa06e697ec50fb0e7e4cea582dc4701a676d65..0751151b6548a299da83d9ad032bd27a78e885e0 100644 (file)
@@ -172,7 +172,7 @@ def test_create_wrmap():
 
     wikitext = wrpylib.wrmwmarkup.create_wrmap(geojson)
     assert wikitext == textwrap.dedent(u'''\
-    <wrmap height="400" lat="47.2417134" lon="11.21408895" width="700" zoom="14">
+    <wrmap height="400" lat="47.241713" lon="11.214089" width="700" zoom="14">
 
     <gasthaus name="Rosskogelhütte" wiki="Rosskogelhütte">47.240689 N 11.190454 E</gasthaus>
     <parkplatz>47.245789 N 11.238971 E</parkplatz>