Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / iotdm / basic / 091_ResourceHierarchyDelete.robot
index bbe27a604c43f7023b84fa57b01d0e23b617f4e9..e7c550c90fe028b8e0a2e60cfdfa65d37bf93689 100644 (file)
@@ -222,16 +222,19 @@ ${rt_contentInstance}    4
     ${container3} =    Location    ${r}
     Response Is Correct    ${r}
     ${attr} =    Set Variable    "cnf": "1","or": "http://hey/you","con":"101"
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container1}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container2}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container3}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    # ----------- Delete the parent AE --------------
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container1}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+    END
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container2}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+    END
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container3}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+        # ----------- Delete the parent AE --------------
+    END
     ${r} =    Delete Resource    ${iserver}    InCSE1/AE1
     Response Is Correct    ${r}
     # Delete the resource that does not exist/has been deleted should return error
@@ -362,16 +365,19 @@ ${rt_contentInstance}    4
     ${container3} =    Location    ${r}
     Response Is Correct    ${r}
     ${attr} =    Set Variable    "cnf": "1","or": "http://hey/you","con":"101"
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container1}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container2}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    : FOR    ${conName}    IN    conIn1    conIn2    conIn3
-    \    ${r} =    Create Resource    ${iserver}    ${container3}    ${rt_contentInstance}    ${attr},"rn":${conName}
-    \    Response Is Correct    ${r}
-    # ----------- Delete the parent Container --------------
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container1}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+    END
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container2}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+    END
+    FOR    ${conName}    IN    conIn1    conIn2    conIn3
+        ${r} =    Create Resource    ${iserver}    ${container3}    ${rt_contentInstance}    ${attr},"rn":${conName}
+        Response Is Correct    ${r}
+        # ----------- Delete the parent Container --------------
+    END
     ${r} =    Delete Resource    ${iserver}    InCSE1/Con1
     Response Is Correct    ${r}
     # Delete the resource that does not exist/has been deleted should return error