Skip to content

Commit ffc925f

Browse files
committed
Update test to expect --disallowed-tools flag
1 parent 505701d commit ffc925f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

claudecode/test_claude_runner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def test_run_security_audit_success(self, mock_run):
166166
assert call_args[0][0] == [
167167
'claude',
168168
'--output-format', 'json',
169-
'--model', DEFAULT_CLAUDE_MODEL
169+
'--model', DEFAULT_CLAUDE_MODEL,
170+
'--disallowed-tools', 'Bash(ps:*)'
170171
]
171172
assert call_args[1]['input'] == 'test prompt'
172173
assert call_args[1]['cwd'] == Path('/tmp/test')

0 commit comments

Comments
 (0)