Skip to content

Commit 45a5faa

Browse files
committed
style(workflow): format confirmation regression assertion
1 parent ab3ca23 commit 45a5faa

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎tests/unittests/tools/test_function_tool.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,9 +513,12 @@ def forgot_a_branch(arg1: str):
513513
tool_context_mock = ToolContext(invocation_context=mock_invocation_context)
514514
tool_context_mock.function_call_id = "test_function_call_id"
515515

516-
assert await tool.check_require_confirmation(
517-
{"arg1": "hello"}, tool_context_mock
518-
) is True
516+
assert (
517+
await tool.check_require_confirmation(
518+
{"arg1": "hello"}, tool_context_mock
519+
)
520+
is True
521+
)
519522

520523
result = await tool.run_async(
521524
args={"arg1": "hello"},

0 commit comments

Comments
 (0)