[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
937cc05b0a
commit
4ec9db68ad
1 changed files with 1 additions and 3 deletions
|
|
@ -70,7 +70,5 @@ def test_bash_exec_allows_normal_command():
|
|||
|
||||
def test_bypass_skips_the_out_of_workdir_block():
|
||||
# Bypass Permissions skips the blocklist and this check alike.
|
||||
msg = _bash_exec(
|
||||
"cat /etc/hostname", session_id = "pathcheck-bypass", disable_sandbox = True
|
||||
)
|
||||
msg = _bash_exec("cat /etc/hostname", session_id = "pathcheck-bypass", disable_sandbox = True)
|
||||
assert "outside the sandbox working directory" not in msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue