We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869be1a commit 100bae2Copy full SHA for 100bae2
tests/test_web.py
@@ -325,8 +325,8 @@ def test_create_user_comment(self) -> None:
325
'related_vulnerabilities': ['CVE-2024-20402']}
326
created_comment = self.client.create_comment(comment=comment)
327
new_comment_uuid = created_comment['data'][0]['uuid']
328
- comments = self.client.get_comment(new_comment_uuid)
329
- self.assertTrue(len(comments['data']) == 1, comments)
+ comment = self.client.get_comment(new_comment_uuid)
+ self.assertEqual(comment['title'], 'test', comment)
330
deleted_comment = self.client.delete_comment(new_comment_uuid)
331
self.assertTrue(deleted_comment < 300)
332
0 commit comments