forked from hans/Nominatim
bdd: run full import on tests
This uncovered a couple of outdated/wrong tests which have been fixed, too.
This commit is contained in:
@@ -139,21 +139,3 @@ Feature: Update of relations by osm2pgsql
|
||||
Then place contains
|
||||
| object | addr+country | name |
|
||||
| R1 | XX | 'name' : 'Foo' |
|
||||
|
||||
Scenario: Country boundary names are extended when country_code known
|
||||
When loading osm data
|
||||
"""
|
||||
n200 Tamenity=prison x0 y0
|
||||
n201 x0 y0.0001
|
||||
n202 x0.0001 y0.0001
|
||||
n203 x0.0001 y0
|
||||
"""
|
||||
And updating osm data
|
||||
"""
|
||||
w1 Nn200,n201,n202,n203,n200
|
||||
r1 Ttype=boundary,boundary=administrative,name=Foo,country_code=ch,admin_level=2 Mw1@
|
||||
"""
|
||||
Then place contains
|
||||
| object | addr+country | name+name:de | name+name |
|
||||
| R1 | ch | Schweiz | Foo |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user