make sure the flatnode file is disabled while testing

This commit is contained in:
Sarah Hoffmann
2017-02-27 22:01:06 +01:00
parent e1cbca2572
commit e0c066d850

View File

@@ -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):