]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/test_cli.py
Change command 'import-special-phrases --from-wiki' to 'special-phrases --import...
[nominatim.git] / test / python / test_cli.py
index 9aeca3de2545248329e1cc8227e87554c9c368ae..eb0ee58487b5917112824ad4b0ce2940d5d21f3a 100644 (file)
@@ -174,7 +174,7 @@ def test_index_command(mock_func_factory, temp_db_cursor, params, do_bnds, do_ra
 def test_special_phrases_command(temp_db, mock_func_factory):
     func = mock_func_factory(nominatim.clicmd.special_phrases.SpecialPhrasesImporter, 'import_from_wiki')
 
-    call_nominatim('import-special-phrases', '--from-wiki')
+    call_nominatim('special-phrases', '--import-from-wiki')
 
     assert func.called == 1