Skip to content

Commit e0c073d

Browse files
committed
Fix failing tests
Signed-off-by: Tushar Goel <[email protected]>
1 parent 21ec05c commit e0c073d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vulnerabilities/tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ def test_api_with_single_vulnerability(self):
256256
"url": f"http://testserver/api/vulnerabilities/{self.vulnerability.id}",
257257
"vulnerability_id": self.vulnerability.vulnerability_id,
258258
"summary": "test",
259+
"severity_range_score": None,
259260
"aliases": [],
260261
"resource_url": f"http://testserver/vulnerabilities/{self.vulnerability.vulnerability_id}",
261262
"fixed_packages": [
@@ -307,6 +308,7 @@ def test_api_with_single_vulnerability_with_filters(self):
307308
"url": f"http://testserver/api/vulnerabilities/{self.vulnerability.id}",
308309
"vulnerability_id": self.vulnerability.vulnerability_id,
309310
"summary": "test",
311+
"severity_range_score": None,
310312
"aliases": [],
311313
"resource_url": f"http://testserver/vulnerabilities/{self.vulnerability.vulnerability_id}",
312314
"fixed_packages": [

0 commit comments

Comments
 (0)