@@ -258,7 +258,7 @@ async def test_run_tool_with_optional_params_omitted(self, toolbox: ToolboxClien
258
258
259
259
response = await tool (
email = "[email protected] " )
260
260
assert isinstance (response , str )
261
- assert 'email= "[email protected] "' in response
261
+ assert '" email": "[email protected] "' in response
262
262
assert "row1" not in response
263
263
assert "row2" in response
264
264
assert "row3" not in response
@@ -272,7 +272,7 @@ async def test_run_tool_with_optional_data_provided(self, toolbox: ToolboxClient
272
272
273
273
response = await tool (
email = "[email protected] " ,
data = "row3" )
274
274
assert isinstance (response , str )
275
- assert 'email= "[email protected] "' in response
275
+ assert '" email": "[email protected] "' in response
276
276
assert "row1" not in response
277
277
assert "row2" not in response
278
278
assert "row3" in response
@@ -286,7 +286,7 @@ async def test_run_tool_with_optional_data_null(self, toolbox: ToolboxClient):
286
286
287
287
response = await tool (
email = "[email protected] " ,
data = None )
288
288
assert isinstance (response , str )
289
- assert 'email= "[email protected] "' in response
289
+ assert '" email": "[email protected] "' in response
290
290
assert "row1" not in response
291
291
assert "row2" in response
292
292
assert "row3" not in response
@@ -300,7 +300,7 @@ async def test_run_tool_with_optional_id_provided(self, toolbox: ToolboxClient):
300
300
301
301
response = await tool (
email = "[email protected] " ,
id = 1 )
302
302
assert isinstance (response , str )
303
- assert 'email= "[email protected] "' in response
303
+ assert '" email": "[email protected] "' in response
304
304
assert "row1" in response
305
305
assert "row2" not in response
306
306
assert "row3" not in response
@@ -314,7 +314,7 @@ async def test_run_tool_with_optional_id_null(self, toolbox: ToolboxClient):
314
314
315
315
response = await tool (
email = "[email protected] " ,
id = None )
316
316
assert isinstance (response , str )
317
- assert 'email= "[email protected] "' in response
317
+ assert '" email": "[email protected] "' in response
318
318
assert "row1" not in response
319
319
assert "row2" in response
320
320
assert "row3" not in response
@@ -340,7 +340,7 @@ async def test_run_tool_with_all_default_params(self, toolbox: ToolboxClient):
340
340
341
341
response = await tool (
email = "[email protected] " ,
id = 0 ,
data = "row2" )
342
342
assert isinstance (response , str )
343
- assert 'email= "[email protected] "' in response
343
+ assert '" email": "[email protected] "' in response
344
344
assert "row1" not in response
345
345
assert "row2" in response
346
346
assert "row3" not in response
@@ -354,7 +354,7 @@ async def test_run_tool_with_all_valid_params(self, toolbox: ToolboxClient):
354
354
355
355
response = await tool (
email = "[email protected] " ,
id = 3 ,
data = "row3" )
356
356
assert isinstance (response , str )
357
- assert 'email= "[email protected] "' in response
357
+ assert '" email": "[email protected] "' in response
358
358
assert "row1" not in response
359
359
assert "row2" not in response
360
360
assert "row3" in response
0 commit comments