From 869be1a700c5101a66f49baff54d6654046c8053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 9 Dec 2024 14:52:27 +0100 Subject: [PATCH] fix: Test to get a comment by uuid --- tests/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_web.py b/tests/test_web.py index 5dc7767..2753bc0 100644 --- a/tests/test_web.py +++ b/tests/test_web.py @@ -325,7 +325,7 @@ 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_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)