From d6adfbc6c16227ca635f19ebdc50e084804a5a16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Fri, 21 Mar 2025 11:32:38 +0100 Subject: [PATCH] Skip PDF-diffing tests when using a dummy isolation provider. --- tests/test_cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_cli.py b/tests/test_cli.py index c47ff4b..dbaa880 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -209,6 +209,10 @@ class TestCliConversion(TestCliBasic): result = self.run_cli([str(doc), "--output-filename", str(destination)]) result.assert_success() + # Do not check against reference versions when using a dummy isolation provider + if os.environ.get("DUMMY_CONVERSION", False): + return + converted = fitz.open(destination) ref = fitz.open(reference) errors = []