[lwm2m_pro] incoherences on testcase for TD_LWM2M_1.0_INT_220_step_01
test description doesn't make much sense to me, e.g. requests to send CoAP PUT request, yet, checks that a POST has been sent:
sequence:
- step_id: 'TD_LWM2M_1.0_INT_220_step_01'
type: stimuli
node: lwm2m_server
description:
- 'LwM2M server sends a WRITE request (CoAP PUT) on server object instance'
- - Type = 0 (CON)
- Code = 3 (PUT)
- step_id: 'TD_LWM2M_1.0_INT_220_step_02'
type: check
description:
- 'Sent POST request contains'
- - Type=0 and Code=3
- Non-empty payload = array of Default Minimum Period, Default Maximum Period, Disable Timeout, Notification Storing When Disabled or offline, and Binding resource values
- content-format=application/vnd.oma.lwm2m+json
- URI-Path option= 1/0
Test case analysis scripts needs to be reviewed too.
pcap added to test_dumps folder doesnt correspond with what the test case expects:
INFO tat|ttproto_api [MainThread] PCAP file dissected (filename: ./tests/test_dumps/analysis/lwm2m_pro/TD_LWM2M_1_INT_220_PASS.pcap). Frames summary:
[
"<Frame 1: [127.0.0.1 -> 127.0.0.1] CoAP [CON 62322] PUT /1/0>",
"<Frame 2: [127.0.0.1 -> 127.0.0.1] CoAP [ACK 62322] 2.04 Changed >"
]