X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cce0e5ea38fe3466e157651e789554d99fbdc8fe..c41f2fed2133668dc3179813261d39d3ff69cbdd:/test/python/tools/test_import_special_phrases.py?ds=sidebyside diff --git a/test/python/tools/test_import_special_phrases.py b/test/python/tools/test_import_special_phrases.py index 7026a549..75a6a066 100644 --- a/test/python/tools/test_import_special_phrases.py +++ b/test/python/tools/test_import_special_phrases.py @@ -17,11 +17,6 @@ from nominatim.errors import UsageError from cursor import CursorForTesting -@pytest.fixture -def testfile_dir(src_dir): - return src_dir / 'test' / 'testfiles' - - @pytest.fixture def sp_importer(temp_db_conn, def_config, monkeypatch): """ @@ -133,7 +128,7 @@ def test_create_place_classtype_table_and_indexes( """ pairs = set([('class1', 'type1'), ('class2', 'type2')]) - sp_importer._create_place_classtype_table_and_indexes(pairs) + sp_importer._create_classtype_table_and_indexes(pairs) for pair in pairs: assert check_table_exist(temp_db_conn, pair[0], pair[1])