From 2f4cf4ae10b00a40a41bb5c30a02e8a68ee6057e Mon Sep 17 00:00:00 2001 From: Markus Stoll Date: Wed, 29 May 2024 09:47:59 +0200 Subject: [PATCH] fix: save after conversion --- tests/ui/test_startpage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ui/test_startpage.py b/tests/ui/test_startpage.py index 1f2694bc..832017e7 100644 --- a/tests/ui/test_startpage.py +++ b/tests/ui/test_startpage.py @@ -40,6 +40,8 @@ def take_and_diff_snapshot( if im1.mode != im2.mode: im1 = im1.convert("RGB") im2 = im2.convert("RGB") + im1.save(str(reference_screenshot_path)) + im2.save(str(diff_path)) diff_ratio = diff( str(reference_screenshot_path),