diff --git a/tests/test_web.py b/tests/test_web.py index 2753bc0..9c58fc2 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -325,8 +325,8 @@ class TestPublic(unittest.TestCase): 'related_vulnerabilities': ['CVE-2024-20402']} created_comment = self.client.create_comment(comment=comment) new_comment_uuid = created_comment['data'][0]['uuid'] - comments = self.client.get_comment(new_comment_uuid) - self.assertTrue(len(comments['data']) == 1, comments) + comment = self.client.get_comment(new_comment_uuid) + self.assertEqual(comment['title'], 'test', comment) deleted_comment = self.client.delete_comment(new_comment_uuid) self.assertTrue(deleted_comment < 300)