From: Sarah Hoffmann Date: Wed, 10 Feb 2021 15:19:51 +0000 (+0100) Subject: need test database for analysing cli test X-Git-Tag: v3.7.0~38^2~3 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/0e0e9a68096b90ce0f12886c31c49af66b9ac44d need test database for analysing cli test --- diff --git a/test/python/test_cli.py b/test/python/test_cli.py index 9130ac68..a8efd356 100644 --- a/test/python/test_cli.py +++ b/test/python/test_cli.py @@ -88,7 +88,7 @@ def test_admin_command_legacy(monkeypatch, params): assert mock_run_legacy.called == 1 @pytest.mark.parametrize("func, params", [('analyse_indexing', ('--analyse-indexing', ))]) -def test_admin_command_tool(monkeypatch, func, params): +def test_admin_command_tool(temp_db, monkeypatch, func, params): mock = MockParamCapture() monkeypatch.setattr(nominatim.tools.admin, func, mock)