@@ -254,9 +254,7 @@ async def test_run_tool_with_optional_param_omitted(self, toolbox: ToolboxClient
254
254
"""Invoke a tool providing only the required parameter."""
255
255
tool = await toolbox .load_tool ("search-rows" )
256
256
257
- response = await tool (
258
-
259
- )
257
+ response = await tool (
email = "[email protected] " )
260
258
assert isinstance (response , str )
261
259
assert 'email="[email protected] "' in response
262
260
assert "row1" not in response
@@ -270,9 +268,7 @@ async def test_run_tool_with_optional_data_provided(self, toolbox: ToolboxClient
270
268
"""Invoke a tool providing both required and optional parameters."""
271
269
tool = await toolbox .load_tool ("search-rows" )
272
270
273
- response = await tool (
274
- email = "[email protected] " ,
data = "row3"
275
- )
271
+ response = await tool (
email = "[email protected] " ,
data = "row3" )
276
272
assert isinstance (response , str )
277
273
assert 'email="[email protected] "' in response
278
274
assert "row1" not in response
@@ -286,9 +282,7 @@ async def test_run_tool_with_optional_id_provided(self, toolbox: ToolboxClient):
286
282
"""Invoke a tool providing both required and optional parameters."""
287
283
tool = await toolbox .load_tool ("search-rows" )
288
284
289
- response = await tool (
290
-
291
- )
285
+ response = await tool (
email = "[email protected] " ,
id = 1 )
292
286
assert isinstance (response , str )
293
287
assert 'email="[email protected] "' in response
294
288
assert "row1" in response
0 commit comments