bbfdm/test/python-test-cases/json/ubus_get_method.json
Amin Ben Romdhane ff8deafeae Added Get test
2024-02-16 19:34:57 +01:00

33 lines
935 B
JSON

{
"object": "bbfdm",
"test-cases": [
{
"description": "Test-Case-1: Get Parameter with correct path",
"input": {
"path": "Device.DeviceInfo.Manufacturer",
"optional": {"format": "raw", "proto": "usp"}
},
"expected_error": 0,
"output": {
"results": [
{
"path": "Device.DeviceInfo.Manufacturer",
"data": "iopsys",
"type": "xsd:string"
}
]
}
},
{
"description": "Test-Case-2: Get Parameter with wrong path",
"input": {
"path": "Device.DeviceInfo.Manufacture",
"optional": {"format": "raw", "proto": "usp"}
},
"expected_error": 7026,
"output": {}
}
]
}