Skip to content

Commit

Permalink
fix: Test to get a comment by uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Dec 9, 2024
1 parent 65244e3 commit 869be1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def test_create_user_comment(self) -> None:
'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_comments(uuid=new_comment_uuid)
comments = self.client.get_comment(new_comment_uuid)
self.assertTrue(len(comments['data']) == 1, comments)
deleted_comment = self.client.delete_comment(new_comment_uuid)
self.assertTrue(deleted_comment < 300)
Expand Down

0 comments on commit 869be1a

Please sign in to comment.