bdd: recreate functions on template DB

Avoids calling function refresh on every scenario. The content won't
change between runs.
This commit is contained in:
Sarah Hoffmann
2022-05-11 15:50:22 +02:00
parent aa0ae610c6
commit e74e577029
2 changed files with 15 additions and 16 deletions

View File

@@ -93,7 +93,6 @@ def add_data_to_planet_ways(context):
def import_and_index_data_from_place_table(context):
""" Import data previously set up in the place table.
"""
context.nominatim.run_nominatim('refresh', '--functions')
context.nominatim.run_nominatim('import', '--continue', 'load-data',
'--index-noanalyse', '-q',
'--offline')