Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix: skip tiff tests for zxing

Marvin Gaube567a1bb770a5
diff --git a/src/documents/tests/test_barcodes.py b/src/documents/tests/test_barcodes.py
index 7d7b281e9..547a315d9 100644
--- a/src/documents/tests/test_barcodes.py
+++ b/src/documents/tests/test_barcodes.py
@@ -672,6 +672,10 @@ class TestBarcode(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
CONSUMER_ENABLE_BARCODES=True,
CONSUMER_BARCODE_TIFF_SUPPORT=True,
)
+ @pytest.mark.skipif(
+ settings.CONSUMER_BARCODE_SCANNER == "ZXING",
+ reason="zxingcpp has issues with tiff",
+ )
def test_consume_barcode_tiff_file(self):
"""
GIVEN:
@@ -731,6 +735,10 @@ class TestBarcode(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
CONSUMER_ENABLE_BARCODES=True,
CONSUMER_BARCODE_TIFF_SUPPORT=True,
)
+ @pytest.mark.skipif(
+ settings.CONSUMER_BARCODE_SCANNER == "ZXING",
+ reason="zxingcpp has issues with tiff",
+ )
def test_consume_barcode_supported_no_extension_file(self):
"""
GIVEN: