]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cmd_replication.py
use bbox size for secondary order of results
[nominatim.git] / test / python / cli / test_cmd_replication.py
index ff900e58bbc988842fd0f66dcf98ddd77f32af54..21c6350d4e762c62f66de007cd147da95d347671 100644 (file)
@@ -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