]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_cli.py
move amenity creation to tokenizer
[nominatim.git] / test / python / test_cli.py
index 4cca30802369319b37e2abd563c0d80388fc5360..e0d4fb86ca0c7b8f9638fea54b5a1afc14eed89b 100644 (file)
@@ -248,7 +248,7 @@ def test_index_command(mock_func_factory, temp_db_cursor, tokenizer_mock,
     assert bnd_mock.called == do_bnds
     assert rank_mock.called == do_ranks
 
-def test_special_phrases_command(temp_db, mock_func_factory):
+def test_special_phrases_command(temp_db, mock_func_factory, tokenizer_mock):
     func = mock_func_factory(nominatim.clicmd.special_phrases.SpecialPhrasesImporter, 'import_from_wiki')
 
     call_nominatim('special-phrases', '--import-from-wiki')