Skip to content

Commit 5083af9

Browse files
committed
fix: Fix sync tool name assertion
1 parent c0c0eea commit 5083af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-langchain/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def toolbox(self):
196196
@pytest.fixture(scope="function")
197197
def get_n_rows_tool(self, toolbox):
198198
tool = toolbox.load_tool("get-n-rows")
199-
assert tool._ToolboxTool__async_tool._AsyncToolboxTool__name == "get-n-rows"
199+
assert tool._ToolboxTool__core_sync_tool.__name__ == "get-n-rows"
200200
return tool
201201

202202
#### Basic e2e tests

0 commit comments

Comments
 (0)