]> git.openstreetmap.org Git - nominatim.git/commitdiff
need test database for analysing cli test
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Feb 2021 15:19:51 +0000 (16:19 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 10 Feb 2021 15:19:51 +0000 (16:19 +0100)
test/python/test_cli.py

index 9130ac686ba4d4cb2996735441819dd4206a9917..a8efd35670e63e0cc2744a2da097bd7db13f55f3 100644 (file)
@@ -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)