forked from hans/Nominatim
avoid calling OSM servers during bdd tests
This commit is contained in:
@@ -184,7 +184,8 @@ class NominatimEnvironment:
|
||||
fd.flush()
|
||||
self.run_nominatim('import', '--osm-file', fd.name,
|
||||
'--osm2pgsql-cache', '1',
|
||||
'--ignore-errors')
|
||||
'--ignore-errors',
|
||||
'--offline', '--index-noanalyse')
|
||||
except:
|
||||
self.db_drop_database(self.template_db)
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user