mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
Photon's unit test
As in Flickr, a continue is not detected by coverage as covered but it is.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user