mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +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 = self.run_cli([str(doc), "--output-filename", str(destination)])
|
||||||
result.assert_success()
|
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)
|
converted = fitz.open(destination)
|
||||||
ref = fitz.open(reference)
|
ref = fitz.open(reference)
|
||||||
errors = []
|
errors = []
|
||||||
|
|
Loading…
Reference in a new issue