]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cmd_refresh.py
fix merge issues
[nominatim.git] / test / python / cli / test_cmd_refresh.py
index 01b1f6e0446b1940d8e31eb2f28096641ad2f107..3939681720c6142cf1fd17804a8b127da81d0727 100644 (file)
@@ -92,7 +92,7 @@ class TestRefresh:
                             lambda *args, **kwargs: calls.append('import') or 0)
         monkeypatch.setattr(nominatim_db.tools.refresh, 'recompute_importance',
                             lambda *args, **kwargs: calls.append('update'))
-        func_mock = mock_func_factory(nominatim.tools.refresh, 'create_functions')
+        func_mock = mock_func_factory(nominatim_db.tools.refresh, 'create_functions')
 
         assert self.call_nominatim('refresh', '--importance', '--wiki-data') == 0