From 97924aa746f5d129921668bf472f608108479d38 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 24 Jan 2025 02:39:34 +0100 Subject: [PATCH] do not consider a directory as a wrong screenshot file... --- tests/test_app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_app.py b/tests/test_app.py index 022cf93..605e094 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -407,6 +407,8 @@ def doc_dir(app) -> TestResult: for file in (app.path / "doc" / "screenshots").rglob("*"): filename = file.name + if Path.is_dir(file): + continue if filename == ".gitkeep": continue if all(