From 95660c3ec738e2a545b9cd5918f54953001297b2 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 23 Sep 2024 19:01:56 +0300 Subject: [PATCH] Make dummy tests faster Remove the unnecessary sleep command in our dummy tests, which made them run much slower. --- dangerzone/isolation_provider/dummy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dangerzone/isolation_provider/dummy.py b/dangerzone/isolation_provider/dummy.py index c476f33..45260d2 100644 --- a/dangerzone/isolation_provider/dummy.py +++ b/dangerzone/isolation_provider/dummy.py @@ -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