Skip to content

Commit 0dc7034

Browse files
committed
fix: call tool instead of client
1 parent a646285 commit 0dc7034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def token_handler():
164164
return expected_header
165165

166166
tool = await client.load_tool(tool_name)
167-
tool = await client.add_auth_token_getters({"my-auth-service": token_handler})
167+
tool = tool.add_auth_token_getters({"my-auth-service": token_handler})
168168
res = await tool(5)
169169

170170
@pytest.mark.asyncio

0 commit comments

Comments
 (0)