Skip to content

Commit 9ac5ada

Browse files
committed
Fix tests.
1 parent 9b08656 commit 9ac5ada

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_applets/test_applet_findings.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ async def after_scan_1(self):
2828
assert {f.confidence for f in findings} == {"UNKNOWN"}
2929
assert {f.confidence_score for f in findings} == {1}
3030

31-
# risk should auto-sync from finding_max_severity via CVSS: HIGH -> 8.9
31+
# risk should auto-sync from finding_max_severity via CVSS: HIGH -> 7.0
3232
www_asset = await self.bbot_server.get_asset(host="www.evilcorp.com")
33-
assert www_asset.risk == 8.9
33+
assert www_asset.risk == 7.0
3434
assert www_asset.risk_override == False
3535
www2_asset = await self.bbot_server.get_asset(host="www2.evilcorp.com")
36-
assert www2_asset.risk == 8.9
36+
assert www2_asset.risk == 7.0
3737
assert www2_asset.risk_override == False
3838

3939
# api.evilcorp.com has no findings yet → risk should be None

0 commit comments

Comments
 (0)