test_normalize_shell_command_empty() — langchain Function Reference
Architecture documentation for the test_normalize_shell_command_empty() function in test_shell_tool.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 0e03d074_cdaf_61c8_99ca_b5818f159f90["test_normalize_shell_command_empty()"] f21fd460_1d0c_cb92_cfa1_eae0890e2f58["test_shell_tool.py"] 0e03d074_cdaf_61c8_99ca_b5818f159f90 -->|defined in| f21fd460_1d0c_cb92_cfa1_eae0890e2f58 style 0e03d074_cdaf_61c8_99ca_b5818f159f90 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py lines 198–201
def test_normalize_shell_command_empty() -> None:
"""Test that empty shell command raises an error."""
with pytest.raises(ValueError, match="at least one argument"):
ShellToolMiddleware(shell_command=[])
Domain
Subdomains
Source
Frequently Asked Questions
What does test_normalize_shell_command_empty() do?
test_normalize_shell_command_empty() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py.
Where is test_normalize_shell_command_empty() defined?
test_normalize_shell_command_empty() is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_shell_tool.py at line 198.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free