Skip to content

Commit 854ef47

Browse files
committed
chore: Fix integration tests
1 parent adc8bc2 commit 854ef47

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async def test_run_tool_no_auth(self, toolbox: ToolboxClient):
148148
tool = await toolbox.load_tool("get-row-by-id-auth")
149149
with pytest.raises(
150150
Exception,
151-
match="tool invocation not authorized. Please make sure your specify correct auth headers",
151+
match="One or more of the following authn services are required to invoke this tool: my-test-auth",
152152
):
153153
await tool(id="2")
154154

packages/toolbox-core/tests/test_sync_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def test_run_tool_no_auth(self, toolbox: ToolboxSyncClient):
130130
tool = toolbox.load_tool("get-row-by-id-auth")
131131
with pytest.raises(
132132
Exception,
133-
match="tool invocation not authorized. Please make sure your specify correct auth headers",
133+
match="One or more of the following authn services are required to invoke this tool: my-test-auth",
134134
):
135135
tool(id="2")
136136

0 commit comments

Comments
 (0)