diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2021-12-09 11:39:01 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-07-08 09:58:49 +0200 |
commit | 4bc0bdd1865f9e7fb91795b4e605ca3d6f52e59e (patch) | |
tree | 547020d4eb9637b0cf537762cd09187c44ebfbec /ishtar_common/tests.py | |
parent | 2840b8554329236d18806b43128f2e0b3b818185 (diff) | |
download | Ishtar-4bc0bdd1865f9e7fb91795b4e605ca3d6f52e59e.tar.bz2 Ishtar-4bc0bdd1865f9e7fb91795b4e605ca3d6f52e59e.zip |
Document - create from parent: adapt test
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r-- | ishtar_common/tests.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ishtar_common/tests.py b/ishtar_common/tests.py index 7d70db8f5..3e1f16433 100644 --- a/ishtar_common/tests.py +++ b/ishtar_common/tests.py @@ -3610,8 +3610,10 @@ class DocumentTest(TestCase): ), ) response = c.get("/show-document/{}/".format(doc.pk)) - self.assertIn(new_child_document.title, response.content.decode()) - self.assertIn(doc.title, response.content.decode()) + content = response.content.decode() + self.assertIn(new_child_document.title, content) + self.assertIn(doc.title, content) + self.assertIn(self.ope1.code_patriarche, content) class JinjaFilterTest(TestCase): |