2 Suite Teardown Kill The Tree ${ODL_SYSTEM_IP} InCSE1 admin admin
3 Library ../../../libraries/criotdm.py
7 ${httphost} ${ODL_SYSTEM_IP}
12 ${rt_contentInstance} 4
18 [Documentation] set a suite variable ${iserver}
19 ${iserver} = Connect To Iotdm ${httphost} ${httpuser} ${httppass} http
20 Set Suite Variable ${iserver}
21 #==================================================
22 # Container Mandatory Attribute Test
23 #==================================================
24 # For Creation, there are no mandatory input attribute
26 1.1 After Created, test whether all the mandatory attribtues are exist.
27 [Documentation] After Created, test whether all the mandatory attribtues are exist.
28 ${attr} = Set Variable "rn":"Container1"
29 ${r}= Create Resource ${iserver} InCSE1 ${rt_container} ${attr}
30 ${container} = Location ${r}
31 ${status_code} = Status Code ${r}
32 Should Be Equal As Integers ${status_code} 201
34 Should Contain ${text} "ri": "rn": "cni"
35 Should Contain ${text} "lt": "pi": "st":
36 Should Contain ${text} "ct": "rty":3 "cbs"
37 Should Not Contain S{text} "lbl" "creator" "or"