We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 334bd05 commit 055f727Copy full SHA for 055f727
tests/test_model_vulnerability.py
@@ -188,7 +188,7 @@ def test_sort(self) -> None:
188
datetime2 = datetime1 + timedelta(seconds=5)
189
190
# expected sort order: (id, description, detail, source, created, published)
191
- expected_order = [0, 6,1,7,2,9,10,8,3,4,5,11]
+ expected_order = [0, 6, 1, 7, 2, 9, 10, 8, 3, 4, 5, 11]
192
vulnerabilities = [
193
Vulnerability(bom_ref='0', id='a', description='a', detail='a',
194
source=source1, created=datetime1, published=datetime1),
@@ -281,7 +281,7 @@ def test_sort(self) -> None:
281
method_a = VulnerabilityScoreSource.CVSS_V3_1
282
283
# expected sort order: ([severity], [score], [source], [method], [vector], [justification])
284
- expected_order = [5, 0, 1,2,3,4,6,7]
+ expected_order = [5, 0, 1, 2, 3, 4, 6, 7]
285
refs = [
286
VulnerabilityRating(severity=VulnerabilitySeverity.HIGH, score=Decimal(10),
287
source=source_a, method=method_a, vector='a', justification='a'),
0 commit comments