From b1246b2a2a97909da22f9510279ecdacf8502481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Mon, 8 Apr 2024 15:33:34 +0200 Subject: [PATCH] Add a little sleep to avoid duplicated result --- c2cwsgiutils/acceptance/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cwsgiutils/acceptance/image.py b/c2cwsgiutils/acceptance/image.py index 95cc79ac0..3a1b3ed5e 100644 --- a/c2cwsgiutils/acceptance/image.py +++ b/c2cwsgiutils/acceptance/image.py @@ -175,7 +175,7 @@ def check_screenshot( expected_filename: str, width: int = 800, height: int = 600, - sleep: int = 0, + sleep: int = 100, headers: Optional[dict[str, str]] = None, media: Optional[list[dict[str, str]]] = None, level: float = 1.0,