Skip to content

Commit 869be1a

Browse files
committed
fix: Test to get a comment by uuid
1 parent 65244e3 commit 869be1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ 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_comments(uuid=new_comment_uuid)
328+
comments = self.client.get_comment(new_comment_uuid)
329329
self.assertTrue(len(comments['data']) == 1, comments)
330330
deleted_comment = self.client.delete_comment(new_comment_uuid)
331331
self.assertTrue(deleted_comment < 300)

0 commit comments

Comments
 (0)