Skip to content

Commit 100bae2

Browse files
committed
fix: check title from new comment
1 parent 869be1a commit 100bae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_web.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ def test_create_user_comment(self) -> None:
325325
'related_vulnerabilities': ['CVE-2024-20402']}
326326
created_comment = self.client.create_comment(comment=comment)
327327
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)
328+
comment = self.client.get_comment(new_comment_uuid)
329+
self.assertEqual(comment['title'], 'test', comment)
330330
deleted_comment = self.client.delete_comment(new_comment_uuid)
331331
self.assertTrue(deleted_comment < 300)
332332

0 commit comments

Comments
 (0)