]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_cli.py
Refactoring loading of external special phrases and importation process by introducin...
[nominatim.git] / test / python / test_cli.py
index a286995611ddf524c54ae5c1657b3e3e15bf55c2..c43dce3b4879a180b80a59e19f99d950ca9218e3 100644 (file)
@@ -256,7 +256,7 @@ def test_index_command(mock_func_factory, temp_db_cursor, tokenizer_mock,
     assert rank_mock.called == do_ranks
 
 def test_special_phrases_command(temp_db, mock_func_factory, tokenizer_mock):
-    func = mock_func_factory(nominatim.clicmd.special_phrases.SpecialPhrasesImporter, 'import_from_wiki')
+    func = mock_func_factory(nominatim.clicmd.special_phrases.SPImporter, 'import_from_wiki')
 
     call_nominatim('special-phrases', '--import-from-wiki')