Skip to content

Commit c1ff58c

Browse files
committed
Fix: make valid is applied
Signed-off-by: RISHI GARG <134256793+Rishi-source@users.noreply.github.com>
1 parent d997268 commit c1ff58c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vulnerabilities/tests/test_api_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ def test_retrieve_vulnerability_detail(self):
9292
self.assertEqual(len(response.data["weaknesses"]), 1)
9393
self.assertEqual(len(response.data["references"]), 1)
9494

95-
9695
def test_filter_vulnerability_by_vulnerability_id(self):
9796
"""
9897
Test filtering vulnerabilities by vulnerability_id.
@@ -233,6 +232,7 @@ def test_list_packages(self):
233232
self.assertTrue(
234233
all(vuln_id in response.data["results"]["vulnerabilities"] for vuln_id in package_vulns)
235234
)
235+
236236
def test_filter_packages_by_vulnerability_status(self):
237237
vulnerability = Vulnerability.objects.create(
238238
vulnerability_id="VCID-FILTER", summary="Test vulnerability for is_vulnerable filter"

0 commit comments

Comments
 (0)