mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 00:57:09 +01:00
fix: skip tiff tests for zxing
This commit is contained in:
parent
743ee886be
commit
567a1bb770
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue