fix: skip tiff tests for zxing

This commit is contained in:
Marvin Gaube 2023-03-20 20:59:59 +01:00
parent 743ee886be
commit 567a1bb770

View File

@ -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: