mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
bdd: test placex content when updating with osm2pgsql
This commit is contained in:
@@ -123,3 +123,11 @@ def update_from_osm_file(context):
|
||||
get_osm2pgsql_options(context.nominatim, fname, append=True))
|
||||
finally:
|
||||
os.remove(fname)
|
||||
|
||||
@when('indexing')
|
||||
def index_database(context):
|
||||
"""
|
||||
Run the Nominatim indexing step. This will process data previously
|
||||
loaded with 'updating osm data'
|
||||
"""
|
||||
context.nominatim.run_nominatim('index')
|
||||
|
||||
Reference in New Issue
Block a user