From 017da0cd9ae38b76377f959f05f5913bb8b296f4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 21 Jun 2021 16:44:54 +0200 Subject: Tests: fix dependencies and string evaluation --- archaeological_operations/tests.py | 2 +- archaeological_operations/tests/labels-8.odt | Bin 12838 -> 13283 bytes 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 09920cf13..39fa730f0 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -3120,7 +3120,7 @@ class LabelTest(TestCase, OperationInitTest): self.assertIsNone(z.testzip()) content = z.open("content.xml") full_content = content.read() - self.assertIn(b"1789", full_content) + self.assertIn(b"1789", full_content, msg="1789 not in generated label") # jpe file are added for missing pictures / must be filtered self.assertNotIn(b'.jpe"', full_content) finally: diff --git a/archaeological_operations/tests/labels-8.odt b/archaeological_operations/tests/labels-8.odt index 13229c526..58e00e72f 100644 Binary files a/archaeological_operations/tests/labels-8.odt and b/archaeological_operations/tests/labels-8.odt differ -- cgit v1.2.3