mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
fix: skip tiff tests for zxing
This commit is contained in:
parent
743ee886be
commit
567a1bb770
@ -672,6 +672,10 @@ class TestBarcode(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
|
|||||||
CONSUMER_ENABLE_BARCODES=True,
|
CONSUMER_ENABLE_BARCODES=True,
|
||||||
CONSUMER_BARCODE_TIFF_SUPPORT=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):
|
def test_consume_barcode_tiff_file(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
@ -731,6 +735,10 @@ class TestBarcode(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
|
|||||||
CONSUMER_ENABLE_BARCODES=True,
|
CONSUMER_ENABLE_BARCODES=True,
|
||||||
CONSUMER_BARCODE_TIFF_SUPPORT=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):
|
def test_consume_barcode_supported_no_extension_file(self):
|
||||||
"""
|
"""
|
||||||
GIVEN:
|
GIVEN:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user