[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
e400dac77d
commit
2bf12cd89b
1 changed files with 2 additions and 6 deletions
|
|
@ -1924,9 +1924,7 @@ class TestR5_BashGlobUnderSensitiveRoot:
|
|||
],
|
||||
)
|
||||
def test_glob_under_sensitive_root_blocked(self, cmd):
|
||||
assert _find_sensitive_paths(cmd), (
|
||||
f"glob under sensitive root leaked: {cmd!r}"
|
||||
)
|
||||
assert _find_sensitive_paths(cmd), f"glob under sensitive root leaked: {cmd!r}"
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"cmd",
|
||||
|
|
@ -1944,9 +1942,7 @@ class TestR5_BashGlobUnderSensitiveRoot:
|
|||
],
|
||||
)
|
||||
def test_glob_legit_allowed(self, cmd):
|
||||
assert not _find_sensitive_paths(cmd), (
|
||||
f"legit glob blocked: {cmd!r}"
|
||||
)
|
||||
assert not _find_sensitive_paths(cmd), f"legit glob blocked: {cmd!r}"
|
||||
|
||||
|
||||
class TestR5_TernaryBranchResolution:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue