Photon's unit test

As in Flickr, a continue is not detected by coverage as covered but it is.
This commit is contained in:
Cqoicebordel 2015-02-10 18:44:49 +01:00
parent 8c2a5f0492
commit f703a77fc9
3 changed files with 168 additions and 1 deletions

View file

@ -61,7 +61,7 @@ def response(resp):
continue
# get title
title = properties['name']
title = properties.get('name')
# get osm-type
if properties.get('osm_type') == 'N':