MCPcopy Create free account
hub / github.com/NVIDIA/SkillSpector / test_shell_is_false

Method test_shell_is_false

tests/unit/test_agent_cli.py:379–383  ·  view source on GitHub ↗
(self, mock_popen: MagicMock, _mock_binary: MagicMock)

Source from the content-addressed store, hash-verified

377@patch("skillspector.providers._agent_cli.subprocess.Popen")
378class TestRunAgentCLIClaude:
379 def test_shell_is_false(self, mock_popen: MagicMock, _mock_binary: MagicMock) -> None:
380 mock_popen.return_value = _make_ok_process(_GOOD_CLAUDE_OUTPUT.encode())
381 run_agent_cli("claude", PROMPT, model=MODEL)
382 call_kwargs = mock_popen.call_args[1]
383 assert call_kwargs.get("shell") is False
384
385 def test_prompt_in_stdin_not_argv(self, mock_popen: MagicMock, _mock_binary: MagicMock) -> None:
386 proc = _make_ok_process(_GOOD_CLAUDE_OUTPUT.encode())

Callers

nothing calls this directly

Calls 2

run_agent_cliFunction · 0.90
_make_ok_processFunction · 0.85

Tested by

no test coverage detected