mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 10:27:57 +00:00
remove all references to a module path
No longer used now that legacy tokenizer is gone.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user