tests: fix concurrency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user