]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tools/test_import_special_phrases.py
work around strange query planning behaviour
[nominatim.git] / test / python / tools / test_import_special_phrases.py
index 0dcf549cacf0c26db85ed0a6a2fe54116bbc104f..75a6a066d43f19598d3b0b00b6bf347cb5d7e6ee 100644 (file)
@@ -128,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])