Update Robot Framework format - step 16
[integration/test.git] / csit / suites / usc / udp / 200_Multiple_Sessions_UDP / Test.robot
index 533389fbf5d04954b4c71cdbcac4cf86dff15c73..f9014d9d89db53bcd59ae3424381b98604d3707a 100644 (file)
@@ -1,24 +1,29 @@
 *** Settings ***
-Documentation     Test suite for multiple sessions in an USC TLS channel
-Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
-Suite Teardown    Delete All Sessions
-Test Timeout      1min
-Library           Collections
-Library           OperatingSystem
-Library           SSHLibrary
-Library           RequestsLibrary
-Library           json
-Library           ../../../../libraries/Common.py
-Variables         ../../../../variables/Variables.py
-Resource          ../../../../libraries/UscUtils.robot
+Documentation       Test suite for multiple sessions in an USC TLS channel
+
+Library             Collections
+Library             OperatingSystem
+Library             SSHLibrary
+Library             RequestsLibrary
+Library             json
+Library             ../../../../libraries/Common.py
+Variables           ../../../../variables/Variables.py
+Resource            ../../../../libraries/UscUtils.robot
+
+Suite Setup         Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
+Suite Teardown      Delete All Sessions
+Test Timeout        1min
 
-*** Variables ***
 
 *** Test Cases ***
 Add Channel
     [Documentation]    Add multiple USC DTLS channels
     FOR    ${port_index}    IN    @{LIST_ECHO_SERVER_PORT}
-        ${content}    Create Dictionary    hostname=${TOOLS_SYSTEM_IP}    port=${port_index}    tcp=false    remote=false
+        ${content}    Create Dictionary
+        ...    hostname=${TOOLS_SYSTEM_IP}
+        ...    port=${port_index}
+        ...    tcp=false
+        ...    remote=false
         ${channel}    Create Dictionary    channel=${content}
         ${input}    Create Dictionary    input=${channel}
         ${data}    json.dumps    ${input}
@@ -44,7 +49,11 @@ Check added Channel
 Send Messages
     [Documentation]    Send test messages multiple times
     FOR    ${port_index}    IN    @{LIST_ECHO_SERVER_PORT}
-        ${content}    Create Dictionary    hostname=${TOOLS_SYSTEM_IP}    port=${port_index}    tcp=false    content=${TEST_MESSAGE}
+        ${content}    Create Dictionary
+        ...    hostname=${TOOLS_SYSTEM_IP}
+        ...    port=${port_index}
+        ...    tcp=false
+        ...    content=${TEST_MESSAGE}
         ${channel}    Create Dictionary    channel=${content}
         ${input}    Create Dictionary    input=${channel}
         Send Now    ${input}
@@ -100,6 +109,7 @@ Check Channel
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    "topology"
 
+
 *** Keywords ***
 Send Now
     [Arguments]    ${body}