Skip to content

Commit 27dba69

Browse files
committed
chore: Fix e2e tests
1 parent 19dea6f commit 27dba69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/toolbox-core/tests/test_e2e.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async def test_run_tool_with_map_params(self, toolbox: ToolboxClient):
416416
feature_flags={"new_feature": True},
417417
)
418418
assert isinstance(response, str)
419-
assert '"execution_context":{"env":"prod","id",1234,"user":1234.5}' in response
419+
assert '"execution_context":{"env":"prod","id":1234,"user":1234.5}' in response
420420
assert '"user_scores":{"user1":100,"user2":200}' in response
421421
assert '"feature_flags":{"new_feature":true}' in response
422422

@@ -432,7 +432,7 @@ async def test_run_tool_with_optional_map_param_omitted(
432432
assert isinstance(response, str)
433433
assert '"execution_context":{"env":"dev"}' in response
434434
assert '"user_scores":{"user3":300}' in response
435-
assert "feature_flags" not in response
435+
assert '"feature_flags":null"' in response
436436

437437
async def test_run_tool_with_wrong_map_value_type(self, toolbox: ToolboxClient):
438438
"""Invoke a tool with a map parameter having the wrong value type."""

0 commit comments

Comments
 (0)