]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/cli/test_cmd_refresh.py
Integrated OSM views into importance computation
[nominatim.git] / test / python / cli / test_cmd_refresh.py
index af06d1611982f8928c949af3fd21533278301c9f..211c1d64fe4d9441d93f36074e1e3e7ceb82d331 100644 (file)
@@ -32,7 +32,7 @@ class TestRefresh:
         func_mock = mock_func_factory(nominatim.tools.refresh, func)
 
         assert self.call_nominatim('refresh', '--' + command) == 0
         func_mock = mock_func_factory(nominatim.tools.refresh, func)
 
         assert self.call_nominatim('refresh', '--' + command) == 0
-        assert func_mock.called > 0
+        assert func_mock.called == 1
 
 
     def test_refresh_word_count(self):
 
 
     def test_refresh_word_count(self):