def test_TD_M2M_NH_04_Update_RemoteCSE(self): remoteCSE = csr() payload = remoteCSE.to_JSON() iotdm_api.update("coap://localhost:5683/ODL-oneM2M-Cse", payload, origin="CSE3219", requestID="12345")
def test_TD_M2M_NH_02_Create_RemoteCSE(self): remoteCSE = csr() remoteCSE.set_csi("CSE3219") remoteCSE.set_rr(True) remoteCSE.set_rn("RemoteCSE") payload = remoteCSE.to_JSON() iotdm_api.create("coap://localhost:5683/ODL-oneM2M-Cse", 16, payload, origin="CSE3219", requestID="12345")