diff --git a/tests/test_validation.py b/tests/test_validation.py index f7ce5286..deed9769 100644 --- a/tests/test_validation.py +++ b/tests/test_validation.py @@ -173,7 +173,7 @@ def test_false_action_store_true(): def test_no_progress_bar(progress_bar, resources): opts = make_opts(progress_bar=progress_bar, input_file=(resources / 'trivial.pdf')) plugin_manager = get_plugin_manager(opts.plugins) - with patch('ocrmypdf._concurrent.tqdm', autospec=True) as tqdmpatch: + with patch('ocrmypdf.builtin_plugins.concurrency.tqdm', autospec=True) as tqdmpatch: vd._check_options(opts, plugin_manager, set()) pdfinfo = PdfInfo(opts.input_file, progbar=opts.progress_bar) assert pdfinfo is not None