X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b169e4c88cd99075c7e932aeb6587c97f51e7ed1..e5206133628c0ab1cacd6c5a04a2a9a973bfc86c:/test/python/test_cli.py?ds=sidebyside diff --git a/test/python/test_cli.py b/test/python/test_cli.py index 10e57f8b..aa6a5c7f 100644 --- a/test/python/test_cli.py +++ b/test/python/test_cli.py @@ -149,7 +149,6 @@ def test_index_command(mock_func_factory, temp_db_cursor, params, do_bnds, do_ra @pytest.mark.parametrize("command,params", [ ('wiki-data', ('setup.php', '--import-wikipedia-articles')), ('importance', ('update.php', '--recompute-importance')), - ('website', ('setup.php', '--setup-website')), ]) def test_refresh_legacy_command(mock_func_factory, temp_db, command, params): mock_run_legacy = mock_func_factory(nominatim.clicmd.refresh, 'run_legacy_script') @@ -165,6 +164,7 @@ def test_refresh_legacy_command(mock_func_factory, temp_db, command, params): ('word-counts', 'recompute_word_counts'), ('address-levels', 'load_address_levels_from_file'), ('functions', 'create_functions'), + ('website', 'setup_website'), ]) def test_refresh_command(mock_func_factory, temp_db, command, func): func_mock = mock_func_factory(nominatim.tools.refresh, func)