mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 10:48:19 +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:
@@ -185,9 +185,13 @@ def test_closure_assembler_fails_closed_on_impossible_combinations():
|
||||
assert positive_set_closure_bytes(valid)
|
||||
|
||||
short = positive_set_closure(
|
||||
**{**based, "total_accepted_positives": 39, "positives_by_ecosystem": {"javascript": 21, "python": 18},
|
||||
"status": PositiveSetClosureStatus.INSUFFICIENT,
|
||||
"reason": PositiveSetClosureReason.INSUFFICIENT_TOTAL_POSITIVES}
|
||||
**{
|
||||
**based,
|
||||
"total_accepted_positives": 39,
|
||||
"positives_by_ecosystem": {"javascript": 21, "python": 18},
|
||||
"status": PositiveSetClosureStatus.INSUFFICIENT,
|
||||
"reason": PositiveSetClosureReason.INSUFFICIENT_TOTAL_POSITIVES,
|
||||
}
|
||||
)
|
||||
assert short.total_accepted_positives == 39
|
||||
|
||||
|
||||
Reference in New Issue
Block a user