mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Make dummy tests faster
Remove the unnecessary sleep command in our dummy tests, which made them run much slower.
This commit is contained in:
parent
58b4659ffd
commit
95660c3ec7
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ class Dummy(IsolationProvider):
|
|||
self.print_progress(document, error, text, percentage) # type: ignore [arg-type]
|
||||
if error:
|
||||
success = False
|
||||
time.sleep(0.2)
|
||||
if success:
|
||||
shutil.copy(
|
||||
get_resource_path("dummy_document.pdf"), document.output_filename
|
||||
|
|
Loading…
Reference in a new issue