Skip to content

Commit d12c73e

Browse files
committed
chore: Fix sync client e2e tests
1 parent 13bf813 commit d12c73e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolbox-core/tests/test_sync_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def test_auth_with_load_tool_fail_no_token(
536536
tool = client.load_tool(tool_name_auth)
537537
# Invocation should fail
538538
with pytest.raises(
539-
ValueError,
539+
PermissionError,
540540
match="One or more of the following authn services are required to invoke this tool: my-auth-service",
541541
): # Match error from client
542542
tool(argA=15, argB=True)

0 commit comments

Comments
 (0)