From 60e0f5056e7ceb2f13d46bea5a9b1bbb08dd9180 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 08:13:53 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/tests/test_sandbox_hardening.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/studio/backend/tests/test_sandbox_hardening.py b/studio/backend/tests/test_sandbox_hardening.py index 52442fe530..67db06bef3 100644 --- a/studio/backend/tests/test_sandbox_hardening.py +++ b/studio/backend/tests/test_sandbox_hardening.py @@ -1335,7 +1335,9 @@ class TestFollowup_DynamicImportShellEscape: + SUDO + " whoami')", "m = __import__('os'); m.system('" + SUDO + " whoami')", - "m = __import__('subprocess'); m.run(['" + SUDO + "', 'whoami'], shell=True)", + "m = __import__('subprocess'); m.run(['" + + SUDO + + "', 'whoami'], shell=True)", "import importlib; mod = importlib.import_module('os'); " "mod.popen('cat ~/.aws/credentials')", ],