mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-12 17:47:08 +01:00
decode bytecode in string
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
parent
793f641af6
commit
422ac9befe
2 changed files with 5 additions and 4 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue