Move 'Create Dictionary' calls from tab format to '=' format
[integration/test.git] / tools / Robot_Tool / suites / base / arp_handler.txt
index 74353e280c8d195bf898302e20a68b54d31258d7..fd4910ef5c4e02f00adb1bb8c00498dc79657da9 100644 (file)
@@ -15,8 +15,8 @@ ${REST_CONTEXT}    /controller/nb/v2/subnetservice
 Add a subnet
     [Documentation]    Add a subnet, list to validate the result.
     [Tags]    add
-    ${body}    Create Dictionary    name    ${name}    subnet    10.0.0.254/8
-    ${headers}    Create Dictionary    Content-Type    application/json
+    ${body}    Create Dictionary    name=${name}    subnet=10.0.0.254/8
+    ${headers}    Create Dictionary    Content-Type=application/json
     Create Session    session    http://${CONTROLLER}:8080    headers=${headers}    auth=${auth}
     ${resp}    Put    session    ${REST_CONTEXT}/${CONTAINER}/subnet/${name}    data=${body}
     Should Be Equal As Strings    ${resp.status_code}    201    Response status code error
@@ -29,8 +29,8 @@ Add a subnet
 Remove a subnet
     [Documentation]    Remove a subnet, list to validate the result.
     [Tags]    remove
-    ${body}    Create Dictionary    name    ${name}    subnet    10.0.0.254/8
-    ${headers}    Create Dictionary    Content-Type    application/json
+    ${body}    Create Dictionary    name=${name}    subnet=10.0.0.254/8
+    ${headers}    Create Dictionary    Content-Type=application/json
     Create Session    session    http://${CONTROLLER}:8080    headers=${headers}    auth=${auth}
     ${resp}    Delete    session    ${REST_CONTEXT}/${CONTAINER}/subnet/${name}
     Should Be Equal As Strings    ${resp.status_code}    204    Response status code error