Skip to content

Commit 8c9e3a9

Browse files
committed
update unit test
1 parent b43ac8f commit 8c9e3a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/cli/helloworld_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def test_sarif():
374374
assert res['runs'][0]['tool']['driver']['rules'][0]['id'] == 'zerodiv'
375375
assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['precision'] == 'high'
376376
# Test that security-severity is now a string and has the expected value
377-
assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['security-severity'] == '8.500000'
377+
assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['security-severity'] == '9.900000'
378378
assert 'security' in res['runs'][0]['tool']['driver']['rules'][0]['properties']['tags']
379379
assert re.match(r'[0-9]+(.[0-9]+)+', res['runs'][0]['tool']['driver']['semanticVersion'])
380380
assert 'level' in res['runs'][0]['tool']['driver']['rules'][0]['defaultConfiguration'] # #13885

0 commit comments

Comments
 (0)