Skip to content

Commit d0edf65

Browse files
committed
Adjust tests according to rebase
Signed-off-by: Tushar Goel <[email protected]>
1 parent fd0ae94 commit d0edf65

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

vulnerabilities/importers/xen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def to_advisories(self, xsa):
4848
references.append(XsaReference.from_number(number=xsa_id))
4949
title = xsa.get("title")
5050
for cve in xsa.get("cve") or []:
51-
#TODO: https://github.com/nexB/vulnerablecode/issues/981
51+
# TODO: https://github.com/nexB/vulnerablecode/issues/981
5252
if not is_cve(cve):
5353
continue
5454
yield AdvisoryData(

vulnerabilities/tests/test_data/parse-advisory-xen-expected.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"severities": []
1313
}
1414
],
15-
"date_published": null
15+
"date_published": null,
16+
"weaknesses": []
1617
}
1718
]

0 commit comments

Comments
 (0)