X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..8c14df55a61d71f2476c8a17287e1bd162a5c6a6:/test/python/cli/test_cmd_replication.py?ds=sidebyside diff --git a/test/python/cli/test_cmd_replication.py b/test/python/cli/test_cmd_replication.py index ff900e58..21c6350d 100644 --- a/test/python/cli/test_cmd_replication.py +++ b/test/python/cli/test_cmd_replication.py @@ -16,7 +16,7 @@ import nominatim_db.cli import nominatim_db.indexer.indexer import nominatim_db.tools.replication import nominatim_db.tools.refresh -from nominatim_core.db import status +from nominatim_db.db import status @pytest.fixture def tokenizer_mock(monkeypatch): @@ -47,8 +47,8 @@ def init_status(temp_db_conn, status_table): @pytest.fixture -def index_mock(mock_func_factory, tokenizer_mock, init_status): - return mock_func_factory(nominatim_db.indexer.indexer.Indexer, 'index_full') +def index_mock(async_mock_func_factory, tokenizer_mock, init_status): + return async_mock_func_factory(nominatim_db.indexer.indexer.Indexer, 'index_full') @pytest.fixture