@@ -246,9 +246,7 @@ async def test_tool_signature_is_correct(self, toolbox: ToolboxClient):
246
246
assert sig .parameters ["limit" ].default is None
247
247
assert sig .parameters ["limit" ].annotation is Optional [int ]
248
248
249
- async def test_run_tool_with_optional_param_omitted (
250
- self , toolbox : ToolboxClient
251
- ):
249
+ async def test_run_tool_with_optional_param_omitted (self , toolbox : ToolboxClient ):
252
250
"""Invoke a tool providing only the required parameter."""
253
251
tool = await toolbox .load_tool ("search-rows" )
254
252
@@ -257,9 +255,7 @@ async def test_run_tool_with_optional_param_omitted(
257
255
assert 'query="test query"' in response
258
256
assert "limit" not in response
259
257
260
- async def test_run_tool_with_optional_param_provided (
261
- self , toolbox : ToolboxClient
262
- ):
258
+ async def test_run_tool_with_optional_param_provided (self , toolbox : ToolboxClient ):
263
259
"""Invoke a tool providing both required and optional parameters."""
264
260
tool = await toolbox .load_tool ("search-rows" )
265
261
@@ -268,9 +264,7 @@ async def test_run_tool_with_optional_param_provided(
268
264
assert 'query="test query"' in response
269
265
assert "limit=10" in response
270
266
271
- async def test_run_tool_with_missing_required_param (
272
- self , toolbox : ToolboxClient
273
- ):
267
+ async def test_run_tool_with_missing_required_param (self , toolbox : ToolboxClient ):
274
268
"""Invoke a tool without its required parameter."""
275
269
tool = await toolbox .load_tool ("search-rows" )
276
270
with pytest .raises (TypeError , match = "missing a required argument: 'query'" ):
0 commit comments