Skip to content

Commit 47b77d3

Browse files
committed
test
1 parent f5de8ff commit 47b77d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/cli/helloworld_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ def test_sarif():
373373
assert res['runs'][0]['results'][0]['ruleId'] == 'zerodiv'
374374
assert res['runs'][0]['tool']['driver']['rules'][0]['id'] == 'zerodiv'
375375
assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['precision'] == 'high'
376-
assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['security-severity'] > 9.5
376+
# github does not seem to handle "security-severity" well so it's not added
377+
#assert res['runs'][0]['tool']['driver']['rules'][0]['properties']['security-severity'] > 9.5
377378
assert 'security' in res['runs'][0]['tool']['driver']['rules'][0]['properties']['tags']
378379
assert re.match(r'[0-9]+(.[0-9]+)+', res['runs'][0]['tool']['driver']['semanticVersion'])
379380
assert 'level' in res['runs'][0]['tool']['driver']['rules'][0]['defaultConfiguration'] # #13885

0 commit comments

Comments
 (0)