X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/ac467c7a2d8cfdcf23f979644e9620f4189ec7ec..0ab0f0ea44c2e93043f00e90c2935f7e742ed9e4:/test/python/cli/test_cmd_refresh.py?ds=inline diff --git a/test/python/cli/test_cmd_refresh.py b/test/python/cli/test_cmd_refresh.py index af06d161..211c1d64 100644 --- a/test/python/cli/test_cmd_refresh.py +++ b/test/python/cli/test_cmd_refresh.py @@ -32,7 +32,7 @@ class TestRefresh: 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):