diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-06-21 16:44:54 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-06-21 17:15:54 +0200 |
commit | 8e1c09dc8c0e115c6e7899b44f3fa50dd3fa59b2 (patch) | |
tree | bb323aa958260988ec53c89f366dd311795e6536 /archaeological_operations | |
parent | 24af25278bff6927e0d442f537efeb6c7bf7182c (diff) | |
download | Ishtar-8e1c09dc8c0e115c6e7899b44f3fa50dd3fa59b2.tar.bz2 Ishtar-8e1c09dc8c0e115c6e7899b44f3fa50dd3fa59b2.zip |
Tests: fix dependencies and string evaluation
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/tests.py | 2 | ||||
-rw-r--r-- | archaeological_operations/tests/labels-8.odt | bin | 12838 -> 13283 bytes |
2 files changed, 1 insertions, 1 deletions
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 Binary files differindex 13229c526..58e00e72f 100644 --- a/archaeological_operations/tests/labels-8.odt +++ b/archaeological_operations/tests/labels-8.odt |