Rebase onto upstream (a4d95fd)
#12
@@ -32,9 +32,11 @@ def test_tool_result_dataclass():
|
||||
|
||||
|
||||
def test_cli_result_dataclass():
|
||||
"""Test CLIResult can be created with output field."""
|
||||
result = CLIResult(output="command output")
|
||||
"""Test CLIResult can be created with all fields."""
|
||||
result = CLIResult(exit_code=0, output="command output", error="")
|
||||
assert result.output == "command output"
|
||||
assert result.exit_code == 0
|
||||
assert result.error == ""
|
||||
|
||||
|
||||
def test_tool_error_exception():
|
||||
|
||||
Reference in New Issue
Block a user