]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cmd_import.py
Integrated OSM views into importance computation
[nominatim.git] / test / python / cli / test_cmd_import.py
index 17c6697dbeaa3ef28772d022ffa20403e5729f00..b6a8721fb61188de9c5a8c0a65913bfdb90db379 100644 (file)
@@ -69,7 +69,7 @@ class TestCliImportWithDb:
         assert cf_mock.called > 1
 
         for mock in mocks:
-            assert mock.called > 0, "Mock '{}' not called".format(mock.func_name)
+            assert mock.called == 1, "Mock '{}' not called".format(mock.func_name)
 
 
     def test_import_continue_load_data(self, mock_func_factory):