Make dummy tests faster

Remove the unnecessary sleep command in our dummy tests, which made them
run much slower.
This commit is contained in:
Alex Pyrgiotis 2024-09-23 19:01:56 +03:00
parent 58b4659ffd
commit 95660c3ec7
No known key found for this signature in database
GPG key ID: B6C15EBA0357C9AA

View file

@ -59,7 +59,6 @@ class Dummy(IsolationProvider):
self.print_progress(document, error, text, percentage) # type: ignore [arg-type] self.print_progress(document, error, text, percentage) # type: ignore [arg-type]
if error: if error:
success = False success = False
time.sleep(0.2)
if success: if success:
shutil.copy( shutil.copy(
get_resource_path("dummy_document.pdf"), document.output_filename get_resource_path("dummy_document.pdf"), document.output_filename