Skip to content

Commit 3ed7d10

Browse files
authored
chore: update toolbox version (#64)
* chore: update toolbox version * fix tests
1 parent d77eb7c commit 3ed7d10

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.ci/integration.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ options:
4343
logging: CLOUD_LOGGING_ONLY
4444
substitutions:
4545
_VERSION: '3.13'
46-
_TOOLBOX_VERSION: '0.0.5'
46+
_TOOLBOX_VERSION: '0.1.0'

tests/test_e2e.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,7 @@ async def test_run_tool_wrong_auth(self, toolbox, auth_token2):
136136
"get-row-by-id-auth",
137137
)
138138
auth_tool = tool.add_auth_token("my-test-auth", lambda: auth_token2)
139-
# TODO: Fix error message (b/389577313)
140-
with pytest.raises(ClientResponseError, match="400, message='Bad Request'"):
139+
with pytest.raises(ClientResponseError, match="401, message='Unauthorized'"):
141140
await auth_tool.ainvoke({"id": "2"})
142141

143142
async def test_run_tool_auth(self, toolbox, auth_token1):
@@ -272,8 +271,7 @@ def test_run_tool_wrong_auth(self, toolbox, auth_token2):
272271
"get-row-by-id-auth",
273272
)
274273
auth_tool = tool.add_auth_token("my-test-auth", lambda: auth_token2)
275-
# TODO: Fix error message (b/389577313)
276-
with pytest.raises(ClientResponseError, match="400, message='Bad Request'"):
274+
with pytest.raises(ClientResponseError, match="401, message='Unauthorized'"):
277275
auth_tool.invoke({"id": "2"})
278276

279277
def test_run_tool_auth(self, toolbox, auth_token1):

0 commit comments

Comments
 (0)