X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2bab0ca060ff224091b20a0ac808a3febaba04b1..0770eaa5d04200aec75653b1ec495ba1a214eaab:/test/python/cli/test_cmd_replication.py 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