X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..5972eb8ee06d9fdbef948b2d260a6aeb50541e57:/test/python/cli/test_cmd_admin.py diff --git a/test/python/cli/test_cmd_admin.py b/test/python/cli/test_cmd_admin.py index 696e2dd2..75ae3cd2 100644 --- a/test/python/cli/test_cmd_admin.py +++ b/test/python/cli/test_cmd_admin.py @@ -19,17 +19,6 @@ import nominatim.tools.migration import nominatim.clicmd.admin -@pytest.mark.parametrize("params", [('--warm', ), - ('--warm', '--reverse-only'), - ('--warm', '--search-only')]) -def test_admin_command_legacy(cli_call, mock_func_factory, params): - mock_run_legacy = mock_func_factory(nominatim.clicmd.admin, 'run_legacy_script') - - assert cli_call('admin', *params) == 0 - - assert mock_run_legacy.called == 1 - - def test_admin_command_check_database(cli_call, mock_func_factory): mock = mock_func_factory(nominatim.tools.check_database, 'check_database')