remove all references to a module path

No longer used now that legacy tokenizer is gone.
This commit is contained in:
Sarah Hoffmann
2024-09-21 17:39:01 +02:00
parent 9734bbf240
commit b54ff7d766
12 changed files with 15 additions and 29 deletions

View File

@@ -109,7 +109,7 @@ def table_factory(temp_db_conn):
@pytest.fixture
def def_config():
cfg = Configuration(None)
cfg.set_libdirs(module='.', osm2pgsql='.')
cfg.set_libdirs(osm2pgsql=None)
return cfg
@@ -118,7 +118,7 @@ def project_env(tmp_path):
projdir = tmp_path / 'project'
projdir.mkdir()
cfg = Configuration(projdir)
cfg.set_libdirs(module='.', osm2pgsql='.')
cfg.set_libdirs(osm2pgsql=None)
return cfg
@@ -208,7 +208,7 @@ def osmline_table(temp_db_with_extensions, table_factory):
def sql_preprocessor_cfg(tmp_path, table_factory, temp_db_with_extensions):
table_factory('country_name', 'partition INT', ((0, ), (1, ), (2, )))
cfg = Configuration(None)
cfg.set_libdirs(module='.', osm2pgsql='.', sql=tmp_path)
cfg.set_libdirs(osm2pgsql=None, sql=tmp_path)
return cfg