File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/toolbox-core/tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ async def test_run_tool_with_map_params(self, toolbox: ToolboxClient):
416
416
feature_flags = {"new_feature" : True },
417
417
)
418
418
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
420
420
assert '"user_scores":{"user1":100,"user2":200}' in response
421
421
assert '"feature_flags":{"new_feature":true}' in response
422
422
@@ -432,7 +432,7 @@ async def test_run_tool_with_optional_map_param_omitted(
432
432
assert isinstance (response , str )
433
433
assert '"execution_context":{"env":"dev"}' in response
434
434
assert '"user_scores":{"user3":300}' in response
435
- assert "feature_flags" not in response
435
+ assert ' "feature_flags":null"' in response
436
436
437
437
async def test_run_tool_with_wrong_map_value_type (self , toolbox : ToolboxClient ):
438
438
"""Invoke a tool with a map parameter having the wrong value type."""
You can’t perform that action at this time.
0 commit comments