mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
Change command 'import-special-phrases --from-wiki' to 'special-phrases --import-from-wiki'.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@ $aTagsWhitelist
|
||||
= array(
|
||||
'highway' => array('bus_stop', 'rest_area', 'raceway'),
|
||||
'building' => array(),
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user