mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
decode bytecode in string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -98,7 +98,7 @@ class TestTasks(DirectoriesMixin, TestCase):
|
||||
"patch-code-t.pbm",
|
||||
)
|
||||
img = Image.open(test_file)
|
||||
separator_barcode = "b'" + str(settings.CONSUMER_BARCODE_STRING) + "'"
|
||||
separator_barcode = str(settings.CONSUMER_BARCODE_STRING)
|
||||
self.assertEqual(tasks.barcode_reader(img), [separator_barcode])
|
||||
|
||||
def test_barcode_reader2(self):
|
||||
|
Reference in New Issue
Block a user