Upgrade RF syntax for v3.2 compatibility
[integration/test.git] / csit / suites / usc / tcp / 300_Callhome_TCP / test.robot
index a61b0a2b48dec8aac61d59e992003d256ba3e957..80fd13fb80123afb1094e568328a10f97d54fc6e 100644 (file)
@@ -41,11 +41,12 @@ Send Messages
     ${content}    Create Dictionary    hostname=${TOOLS_SYSTEM_IP}    port=${ECHO_SERVER_PORT}    tcp=true    content=${TEST_MESSAGE}
     ${channel}    Create Dictionary    channel=${content}
     ${input}    Create Dictionary    input=${channel}
-    : FOR    ${index}    IN RANGE    0    ${NUM_OF_MESSAGES}
-    \    ${data}    json.dumps    ${input}
-    \    ${resp}    Post Request    session    ${REST_SEND_MESSAGE}    data=${data}
-    \    Should Be Equal As Strings    ${resp.status_code}    200
-    \    Should Contain    ${resp.content}    Succeed to send request
+    FOR    ${index}    IN RANGE    0    ${NUM_OF_MESSAGES}
+        ${data}    json.dumps    ${input}
+        ${resp}    Post Request    session    ${REST_SEND_MESSAGE}    data=${data}
+        Should Be Equal As Strings    ${resp.status_code}    200
+        Should Contain    ${resp.content}    Succeed to send request
+    END
 
 View Bytes In and Bytes Out
     [Documentation]    Check if the number of Bytes In and Bytes Out are correct