From 6ffcbc37e6ba17019efd061057fba72dbbdfce89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 9 Dec 2024 15:07:11 +0100 Subject: [PATCH] fix: check title from new comment, take 2 --- tests/test_web.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_web.py b/tests/test_web.py index 9c58fc2..bcdb2cf 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -326,6 +326,7 @@ def test_create_user_comment(self) -> None: created_comment = self.client.create_comment(comment=comment) new_comment_uuid = created_comment['data'][0]['uuid'] comment = self.client.get_comment(new_comment_uuid) + self.assertTrue(comment.get('title'), comment) self.assertEqual(comment['title'], 'test', comment) deleted_comment = self.client.delete_comment(new_comment_uuid) self.assertTrue(deleted_comment < 300)