mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-24 06:22:08 +03:00
need test database for analysing cli test
This commit is contained in:
parent
ed60154552
commit
0e0e9a6809
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user