mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
fix more behave table formatting errors
This commit is contained in:
@@ -20,12 +20,12 @@ Feature: Parenting of objects
|
||||
| N2 | W1 |
|
||||
When searching for "4 galoo"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id | langaddress
|
||||
| 0 | N | 1 | 4, galoo, 12345
|
||||
| ID | osm_type | osm_id | langaddress |
|
||||
| 0 | N | 1 | 4, galoo, 12345 |
|
||||
When searching for "5 galoo"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id | langaddress
|
||||
| 0 | N | 2 | 5, galoo, 99999
|
||||
| ID | osm_type | osm_id | langaddress |
|
||||
| 0 | N | 2 | 5, galoo, 99999 |
|
||||
|
||||
Scenario: Address without tags, closest street
|
||||
Given the scene roads-with-pois
|
||||
|
||||
@@ -9,10 +9,10 @@ Feature: Update of simple objects by osm2pgsql
|
||||
n2 Tplace=locality,name=spotty
|
||||
"""
|
||||
Then place contains
|
||||
| object | type | name
|
||||
| N1:tourism | hotel | 'name' : 'foo'
|
||||
| N1:amenity | restaurant | 'name' : 'foo'
|
||||
| N2:place | locality | 'name' : 'spotty'
|
||||
| object | type | name+name |
|
||||
| N1:tourism | hotel | foo |
|
||||
| N1:amenity | restaurant | foo |
|
||||
| N2:place | locality | spotty |
|
||||
When updating osm data
|
||||
"""
|
||||
n1 dV Ttourism=hotel,name=foo
|
||||
@@ -21,6 +21,6 @@ Feature: Update of simple objects by osm2pgsql
|
||||
Then place has no entry for N1:amenity
|
||||
And place has no entry for N2
|
||||
And place contains
|
||||
| object | class | type | name
|
||||
| N1:tourism | tourism | hotel | 'name' : 'foo'
|
||||
| object | class | type | name |
|
||||
| N1:tourism | tourism | hotel | 'name' : 'foo' |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user