add config options and documentation

Signed-off-by: florian on nixos (Florian Brandes) <florian.brandes@posteo.de>
This commit is contained in:
florian on nixos (Florian Brandes) authored and Florian Brandes committed 2022-04-07 11:14:29 +02:00
1 parent 37b3fde4e1
commit c024b846c3
5 files changed
+39 -8

No files matched your search

+2 -1
View File
@@ -98,7 +98,8 @@ class TestTasks(DirectoriesMixin, TestCase):
"patch-code-t.pbm",
)
img = Image.open(test_file)
self.assertEqual(tasks.barcode_reader(img), ["b'PATCHT'"])
separator_barcode = "b'" + str(settings.CONSUMER_BARCODE_STRING) + "'"
self.assertEqual(tasks.barcode_reader(img), [separator_barcode])
def test_barcode_reader2(self):
test_file = os.path.join(os.path.dirname(__file__), "samples", "simple.png")