summaryrefslogtreecommitdiff
path: root/plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-05 00:55:20 +0000
committerClaude <noreply@anthropic.com>2026-11-05 00:55:20 +0000
commit94aad60c27bde35441c9b05c515f74fe67e10837 (patch)
treeb60b6d71987457d8b4f4d00daa562288f37d27ce /plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py
parentfa4eb54397ee2faccb6940512a19c017cb1337f3 (diff)
Merged candidate for security-guidance 2.0.18 with platform tests (6999 update)mhegazy/sg2018batch
Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py')
-rw-r--r--plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py b/plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py
index 2325cd9b..03c35087 100644
--- a/plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py
+++ b/plugins/security-guidance/tests/test_bootstrap_spawn_cwd.py
@@ -27,7 +27,7 @@ def _spawns(tree):
def test_every_spawn_sets_a_plugin_owned_cwd():
tree = ast.parse((HOOKS_DIR / "ensure_agent_sdk.py").read_text())
calls = list(_spawns(tree))
- assert len(calls) >= 6
+ assert len(calls) >= 5
for call in calls:
cwd = [k for k in call.keywords if k.arg == "cwd"]
assert cwd, f"subprocess call on line {call.lineno} inherits the hook's working directory"