Skip to content

Commit 1260987

Browse files
committed
small change
1 parent d6c0b34 commit 1260987

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/toolbox-core/tests/test_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@ async def test_load_tool_success(aioresponses, test_tool_str):
9292
assert callable(loaded_tool)
9393
# Assert introspection attributes are set correctly
9494
assert loaded_tool.__name__ == TOOL_NAME
95-
assert (
96-
loaded_tool.__doc__
97-
== test_tool_str.description
95+
expected_description = (
96+
test_tool_str.description
9897
+ f"\n\nArgs:\n param1 (str): Description of Param1"
9998
)
99+
assert loaded_tool.__doc__ == expected_description
100100

101101
# Assert signature inspection
102102
sig = inspect.signature(loaded_tool)

0 commit comments

Comments
 (0)