mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-16 04:57:13 +00:00
fix: skip tiff tests for zxing
This commit is contained in:
1 parent
743ee886be
commit
567a1bb770
1 file changed
+8
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user