X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4abaf712341758f50484fe1fe2764a7a5216de78..925726222f76a3cc73263bd56ef593afaa83c865:/test/python/test_cli.py diff --git a/test/python/test_cli.py b/test/python/test_cli.py index 4b1a4c12..e8d2e052 100644 --- a/test/python/test_cli.py +++ b/test/python/test_cli.py @@ -278,6 +278,7 @@ def test_refresh_command(mock_func_factory, temp_db, command, func, tokenizer_mo def test_refresh_postcodes(mock_func_factory, temp_db, tokenizer_mock): func_mock = mock_func_factory(nominatim.tools.postcodes, 'update_postcodes') + idx_mock = mock_func_factory(nominatim.indexer.indexer.Indexer, 'index_postcodes') assert 0 == call_nominatim('refresh', '--postcodes') assert func_mock.called == 1