Test parsing arguments to dict.
(self)
| 59 | assert fc.arguments == '{"x": 18}' |
| 60 | |
| 61 | def test_get_arguments_dict(self): |
| 62 | """Test parsing arguments to dict.""" |
| 63 | fc = FunctionCallData(name="sqrt", arguments='{"x": 18}') |
| 64 | args = fc.get_arguments_dict() |
| 65 | assert args == {"x": 18} |
| 66 | |
| 67 | def test_get_arguments_dict_invalid_json(self): |
| 68 | """Test get_arguments_dict with invalid JSON.""" |
nothing calls this directly
no test coverage detected