- attributes, json = wrpylib.wrmwmarkup.parse_wrmap(wikitext)
- assert attributes['lon'] == 11.21408895
- assert attributes['lat'] == 47.2417134
- assert attributes['zoom'] == 14
- assert attributes['width'] == 700
- assert attributes['height'] == 400
- assert json['features'][0]['properties']['type'] == 'inn'
+ json = wrpylib.wrmwmarkup.parse_wrmap(wikitext)
+ assert json['properties']['lon'] == 11.21408895
+ assert json['properties']['lat'] == 47.2417134
+ assert json['properties']['zoom'] == 14
+ assert json['properties']['width'] == 700
+ assert json['properties']['height'] == 400
+ assert json['features'][0]['properties']['type'] == 'gasthaus'