mirror of
https://github.com/searxng/searxng.git
synced 2025-07-14 00:39:18 +02: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:
parent
8c2a5f0492
commit
f703a77fc9
3 changed files with 168 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue