mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
remove website setup
The website directory was for PHP scripts only and is no longer needed.
This commit is contained in:
@@ -110,15 +110,6 @@ class NominatimEnvironment:
|
||||
|
||||
self.website_dir = tempfile.TemporaryDirectory()
|
||||
|
||||
try:
|
||||
conn = self.connect_database(dbname)
|
||||
except:
|
||||
conn = False
|
||||
refresh.setup_website(Path(self.website_dir.name) / 'website',
|
||||
self.get_test_config(), conn)
|
||||
if conn:
|
||||
conn.close()
|
||||
|
||||
|
||||
def get_test_config(self):
|
||||
cfg = Configuration(Path(self.website_dir.name), environ=self.test_env)
|
||||
|
||||
Reference in New Issue
Block a user