mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
need test database for analysing cli test
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user