summaryrefslogtreecommitdiff
path: root/ishtar_common/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/tests.py')
-rw-r--r--ishtar_common/tests.py6
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):