Skip to content

Commit ceda19b

Browse files
committed
fix: Fix integration tests
1 parent c7391bb commit ceda19b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/toolbox-langchain/tests/test_e2e.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636

3737
import pytest
3838
import pytest_asyncio
39-
from langchain_core.tools import ToolException
4039
from pydantic import ValidationError
4140

4241
from toolbox_langchain.client import ToolboxClient
@@ -327,7 +326,7 @@ def test_run_tool_param_auth_no_field(self, toolbox, auth_token1):
327326
auth_token_getters={"my-test-auth": lambda: auth_token1},
328327
)
329328
with pytest.raises(
330-
ToolException,
329+
Exception,
331330
match='provided parameters were invalid: error parsing authenticated parameter "data": no field named row_data in claims',
332331
):
333332
tool.invoke({})

0 commit comments

Comments
 (0)