mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 05:18:00 +00:00
make sure the flatnode file is disabled while testing
This commit is contained in:
@@ -40,6 +40,7 @@ class NominatimEnvironment(object):
|
||||
def write_nominatim_config(self, dbname):
|
||||
f = open(self.local_settings_file, 'w')
|
||||
f.write("<?php\n @define('CONST_Database_DSN', 'pgsql://@/%s');\n" % dbname)
|
||||
f.write("@define('CONST_Osm2pgsql_Flatnode_File', null);\n")
|
||||
f.close()
|
||||
|
||||
def cleanup(self):
|
||||
|
||||
Reference in New Issue
Block a user