X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/94fa7162be678dc74c1a5516e22916122ba66bbb..5b46fcad8ec166d1b8e35cfbc58405b71e27caa3:/test/python/test_cli.py diff --git a/test/python/test_cli.py b/test/python/test_cli.py index bd192260..942a9409 100644 --- a/test/python/test_cli.py +++ b/test/python/test_cli.py @@ -98,7 +98,6 @@ def test_index_command(monkeypatch, temp_db_cursor, params, do_bnds, do_ranks): @pytest.mark.parametrize("command,params", [ - ('functions', ('setup.php',)), ('wiki-data', ('setup.php', '--import-wikipedia-articles')), ('importance', ('update.php', '--recompute-importance')), ('website', ('setup.php', '--setup-website')), @@ -114,6 +113,7 @@ def test_refresh_legacy_command(mock_run_legacy, command, params): ('postcodes', 'update_postcodes'), ('word-counts', 'recompute_word_counts'), ('address-levels', 'load_address_levels_from_file'), + ('functions', 'create_functions'), ]) def test_refresh_command(monkeypatch, command, func): func_mock = MockParamCapture() @@ -129,7 +129,6 @@ def test_refresh_importance_computed_after_wiki_import(mock_run_legacy): assert mock_run_legacy.called == 2 assert mock_run_legacy.last_args == ('update.php', '--recompute-importance') - @pytest.mark.parametrize("params", [ ('search', '--query', 'new'), ('reverse', '--lat', '0', '--lon', '0'),