Rebase onto upstream (a4d95fd) #12

Closed
wylab wants to merge 144 commits from rebase-onto-upstream into main
Showing only changes of commit 3b068bea5e - Show all commits
+4 -2
View File
@@ -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():