]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_cli.py
Encapsulation of tools/special_phrases.py into SpecialPhrasesImporter class and add...
[nominatim.git] / test / python / test_cli.py
index 0d295f1c9df7b73665fc8be9e7f69421dd3f42be..9aeca3de2545248329e1cc8227e87554c9c368ae 100644 (file)
@@ -172,7 +172,7 @@ def test_index_command(mock_func_factory, temp_db_cursor, params, do_bnds, do_ra
     assert rank_mock.called == do_ranks
 
 def test_special_phrases_command(temp_db, mock_func_factory):
-    func = mock_func_factory(nominatim.clicmd.special_phrases, 'import_from_wiki')
+    func = mock_func_factory(nominatim.clicmd.special_phrases.SpecialPhrasesImporter, 'import_from_wiki')
 
     call_nominatim('import-special-phrases', '--from-wiki')