Skip to content

Commit e94be7b

Browse files
committed
test bind with callable
1 parent 501f76c commit e94be7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ async def test_bound_parameter_static_value_call(
196196

197197
@pytest.fixture
198198
def tool_with_bound_arg2(self, tool: ToolboxTool) -> ToolboxTool:
199-
new_tool = tool.bind_params({"opt_arg": 88})
199+
new_tool = tool.bind_params({"opt_arg": lambda: 88})
200200
return new_tool
201201

202202
@pytest.mark.asyncio

0 commit comments

Comments
 (0)