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