Skip to content

Commit c1706d7

Browse files
committed
try out
1 parent 5b28fcf commit c1706d7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

packages/toolbox-langchain/tests/test_e2e.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,11 @@ async def test_run_tool_no_auth(self, toolbox):
125125
tool = await toolbox.aload_tool(
126126
"get-row-by-id-auth",
127127
)
128-
with pytest.raises(
129-
PermissionError,
130-
match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
131-
):
132-
await tool.ainvoke({"id": "2"})
128+
# with pytest.raises(
129+
# PermissionError,
130+
# match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
131+
# ):
132+
await tool.ainvoke({"id": "2"})
133133

134134
async def test_run_tool_wrong_auth(self, toolbox, auth_token2):
135135
"""Tests running a tool with incorrect auth."""
@@ -265,11 +265,11 @@ def test_run_tool_no_auth(self, toolbox):
265265
tool = toolbox.load_tool(
266266
"get-row-by-id-auth",
267267
)
268-
with pytest.raises(
269-
PermissionError,
270-
match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
271-
):
272-
tool.invoke({"id": "2"})
268+
# with pytest.raises(
269+
# PermissionError,
270+
# match="Tool get-row-by-id-auth requires authentication, but no valid authentication sources are registered. Please register the required sources before use.",
271+
# ):
272+
tool.invoke({"id": "2"})
273273

274274
def test_run_tool_wrong_auth(self, toolbox, auth_token2):
275275
"""Tests running a tool with incorrect auth."""

0 commit comments

Comments
 (0)