Skip to content

Commit 055f727

Browse files
committed
wip
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 334bd05 commit 055f727

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_model_vulnerability.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def test_sort(self) -> None:
188188
datetime2 = datetime1 + timedelta(seconds=5)
189189

190190
# expected sort order: (id, description, detail, source, created, published)
191-
expected_order = [0, 6,1,7,2,9,10,8,3,4,5,11]
191+
expected_order = [0, 6, 1, 7, 2, 9, 10, 8, 3, 4, 5, 11]
192192
vulnerabilities = [
193193
Vulnerability(bom_ref='0', id='a', description='a', detail='a',
194194
source=source1, created=datetime1, published=datetime1),
@@ -281,7 +281,7 @@ def test_sort(self) -> None:
281281
method_a = VulnerabilityScoreSource.CVSS_V3_1
282282

283283
# expected sort order: ([severity], [score], [source], [method], [vector], [justification])
284-
expected_order = [5, 0, 1,2,3,4,6,7]
284+
expected_order = [5, 0, 1, 2, 3, 4, 6, 7]
285285
refs = [
286286
VulnerabilityRating(severity=VulnerabilitySeverity.HIGH, score=Decimal(10),
287287
source=source_a, method=method_a, vector='a', justification='a'),

0 commit comments

Comments
 (0)