Skip to content

Commit b2aa894

Browse files
committed
Improve coverage
1 parent 2b3a9e5 commit b2aa894

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_toolsets.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,11 @@ def add(a: int, b: int) -> int:
177177
"""Add two numbers"""
178178
return a + b # pragma: no cover
179179

180+
@base_toolset.tool
181+
def subtract(a: int, b: int) -> int:
182+
"""Subtract two numbers"""
183+
return a - b # pragma: no cover
184+
180185
async def prepare_change_names(ctx: RunContext[None], tool_defs: list[ToolDefinition]) -> list[ToolDefinition]:
181186
# Try to change the name of an existing tool
182187
modified_tool_defs: list[ToolDefinition] = []

0 commit comments

Comments
 (0)