mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 09:52:37 +02:00
Skip PDF-diffing tests when using a dummy isolation provider.
This commit is contained in:
parent
687bd8585f
commit
d6adfbc6c1
1 changed files with 4 additions and 0 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue