mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
rename and add basic tests
This commit is contained in:
20
test/bdd/db/import/simple.feature
Normal file
20
test/bdd/db/import/simple.feature
Normal file
@@ -0,0 +1,20 @@
|
||||
@DB
|
||||
Feature: Import of simple objects
|
||||
Testing simple stuff
|
||||
|
||||
@wip
|
||||
Scenario: Import place node
|
||||
Given the places
|
||||
| osm | class | type | name | geometry |
|
||||
| N1 | place | village | 'name' : 'Foo' | 10.0 -10.0 |
|
||||
And the named places
|
||||
| osm | class | type | housenumber |
|
||||
| N2 | place | village | |
|
||||
When importing
|
||||
Then table placex contains
|
||||
| object | class | type | name | centroid |
|
||||
| N1 | place | village | 'name' : 'Foo' | 10.0,-10.0 +- 1m |
|
||||
When sending query "Foo"
|
||||
Then results contain
|
||||
| ID | osm_type | osm_id |
|
||||
| 0 | N | 1 |
|
||||
1
test/bdd/db/test.feature
Normal file
1
test/bdd/db/test.feature
Normal file
@@ -0,0 +1 @@
|
||||
Feature: Test
|
||||
Reference in New Issue
Block a user