File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
testcases/ground-to-cloud Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,14 @@ async def call_add_tool():
3636 except Exception as e :
3737 print (f"Error when initializing session: { e } " )
3838 raise e
39-
39+ print ( "Successfully initialized session." )
4040 # List available tools
4141 try :
4242 tools_result = await session .list_tools ()
4343 except Exception as e :
4444 print (f"Error when listing tools: { e } " )
4545 raise e
46+ print ("Successfully listed tools." )
4647
4748 available_tools = [tool .name for tool in tools_result .tools ]
4849 expected_available_tools = [
@@ -58,6 +59,7 @@ async def call_add_tool():
5859
5960 # Call the add tool directly
6061 call_tool_result = await session .call_tool (name = "add" , arguments = {"a" : 7 , "b" : 5 })
62+ print ("Successfully called tool." )
6163
6264 expected_result = "12.0"
6365 actual_result = call_tool_result .content [0 ].text if call_tool_result .content else None
You can’t perform that action at this time.
0 commit comments