mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 02:38:18 +00:00
style(valid-detection-benchmark): apply ruff format to 10.x/11.x test files
`ruff format --check src tests` failed on the 17 test files and helpers added by tasks 10.x and 11.x. Formatting only: the AST of every file is unchanged.
This commit is contained in:
@@ -180,9 +180,7 @@ def test_scale_core_replay_reports_exact_scopes_for_every_planned_arm(chain: Sca
|
||||
assert tuple(report.baseline.arm_id for report in replay.reports) == PLANNED_ARMS
|
||||
expected_scopes = {(FAMILY_PY, "python"), (FAMILY_JS, "javascript")}
|
||||
for report in replay.reports:
|
||||
assert {(result.key.scope.family_id, result.key.scope.ecosystem) for result in report.scoped_results} == (
|
||||
expected_scopes
|
||||
)
|
||||
assert {(result.key.scope.family_id, result.key.scope.ecosystem) for result in report.scoped_results} == (expected_scopes)
|
||||
for result in report.scoped_results:
|
||||
for metric in result.metrics:
|
||||
assert metric.denominator > 0
|
||||
|
||||
Reference in New Issue
Block a user