Skip to content

Commit 809ddf9

Browse files
committed
chore: Delint
1 parent e916457 commit 809ddf9

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,7 @@ async def test_tool_signature_is_correct(self, toolbox: ToolboxClient):
246246
assert sig.parameters["limit"].default is None
247247
assert sig.parameters["limit"].annotation is Optional[int]
248248

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):
252250
"""Invoke a tool providing only the required parameter."""
253251
tool = await toolbox.load_tool("search-rows")
254252

@@ -257,9 +255,7 @@ async def test_run_tool_with_optional_param_omitted(
257255
assert 'query="test query"' in response
258256
assert "limit" not in response
259257

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):
263259
"""Invoke a tool providing both required and optional parameters."""
264260
tool = await toolbox.load_tool("search-rows")
265261

@@ -268,9 +264,7 @@ async def test_run_tool_with_optional_param_provided(
268264
assert 'query="test query"' in response
269265
assert "limit=10" in response
270266

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):
274268
"""Invoke a tool without its required parameter."""
275269
tool = await toolbox.load_tool("search-rows")
276270
with pytest.raises(TypeError, match="missing a required argument: 'query'"):

0 commit comments

Comments
 (0)