X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6463839b4b5c3577dcce72795513c1a75444adb4..3fb739de9275680d4f482d363f22c535442f0017:/test/python/tools/test_exec_utils.py diff --git a/test/python/tools/test_exec_utils.py b/test/python/tools/test_exec_utils.py index f73aec30..b4439c12 100644 --- a/test/python/tools/test_exec_utils.py +++ b/test/python/tools/test_exec_utils.py @@ -16,118 +16,6 @@ from nominatim.config import Configuration import nominatim.tools.exec_utils as exec_utils import nominatim.paths -class TestRunLegacyScript: - - @pytest.fixture(autouse=True) - def setup_nominatim_env(self, tmp_path, monkeypatch): - tmp_phplib_dir = tmp_path / 'phplib' - tmp_phplib_dir.mkdir() - (tmp_phplib_dir / 'admin').mkdir() - - monkeypatch.setattr(nominatim.paths, 'PHPLIB_DIR', tmp_phplib_dir) - - self.phplib_dir = tmp_phplib_dir - self.config = Configuration(tmp_path) - self.config.set_libdirs(module='.', osm2pgsql='default_osm2pgsql', - php=tmp_phplib_dir) - - - def mk_script(self, code): - codefile = self.phplib_dir / 'admin' / 't.php' - codefile.write_text('