Fix robot file format issues 13/111113/2
authorSangwook Ha <sangwook.ha@verizon.com>
Wed, 27 Mar 2024 17:52:11 +0000 (10:52 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Wed, 27 Mar 2024 17:56:33 +0000 (10:56 -0700)
There are some file format issues detected by Robotidy. Fix them up.

Change-Id: I12cd644428713cd1d8ff25b2766f27ae44743f64
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
csit/libraries/ChangeCounter.robot
csit/libraries/OVSDB.robot
csit/libraries/PcepOperations.robot
csit/libraries/PrefixCounting.robot
csit/suites/bgpcep/bgpclustering/PrefixcountKeywords.robot
csit/suites/daexim/020-import-basic.robot
csit/suites/openflowplugin/Bundlebased_Reconciliation/010_bundle_resync.robot

index 55e23983f20b3183839e7300759fc907d9d049f6..63f9be70310af980c7c75f61703555ccf63c18f5 100644 (file)
@@ -34,7 +34,10 @@ CC_Setup
 Get_Change_Count
     [Documentation]    GET data change request, assert status 200, return the value.
     [Arguments]    ${session}=operational
-    ${response} =    RequestsLibrary.GET On Session    ${session}    url=${CC_DATA_CHANGE_COUNTER_URL}    expected_status=200
+    ${response} =    RequestsLibrary.GET On Session
+    ...    ${session}
+    ...    url=${CC_DATA_CHANGE_COUNTER_URL}
+    ...    expected_status=200
     # CompareStream.Set_Variable_If_At_Least_Else cannot be used direcly, because ${response.text}["data-change-counter"]["count"] would be
     # evaluated before the stream comparison and it causes failures
     BuiltIn.Log    ${response.text}
index 0f53041bd99387cd15be3c65c0139a4d0a1b347b..5c24845d77a52d24f11a3cb0da86c4076f67c8f4 100644 (file)
@@ -19,6 +19,7 @@ ${INTERNAL_TUNNEL_TABLE}    36
 ${L3_TABLE}                 21
 ${DEFAULT_PING_COUNT}       3
 
+
 *** Keywords ***
 Log Request
     [Arguments]    ${resp_content}
index 6cc315e05ea759397af812f3dcc8f06391c43a60..23383afe005797c1895bd4aa8563ed65f737eeb6 100644 (file)
@@ -58,7 +58,11 @@ Remove_Xml_Lsp_Return_Json
 Operate_Xml_Lsp_Return_Json
     [Documentation]    Post XML data to given pcep-operations URI, check status_code is 200 and return response text (JSON).
     [Arguments]    ${uri_part}    ${xml_data}
-    ${response}=    RequestsLibrary.POST On Session    alias=pcep_session    url=${uri_part}    data=${xml_data}    expected_status=any
+    ${response}=    RequestsLibrary.POST On Session
+    ...    alias=pcep_session
+    ...    url=${uri_part}
+    ...    data=${xml_data}
+    ...    expected_status=any
     Log    ${xml_data}
     Should Contain    ${ALLOWED_STATUS_CODES}    ${response.status_code}
     RETURN    ${response.text}
index bd32c943f48dd261836089e0d3e8fe1295e6371f..2d410d29814d222ce5224a8299ef62d275051c5d 100644 (file)
@@ -35,7 +35,10 @@ Get_Ipv4_Topology
     ...
     ...    Contrary to Utils.Get_Data_From_URI, this does not Log the (potentially huge) content.
     [Arguments]    ${session}=operational    ${topology}=example-ipv4-topology
-    ${response} =    RequestsLibrary.GET On Session    ${session}    url=${PC_NW_TOPOLOGY}=${topology}?content=nonconfig    expected_status=any
+    ${response} =    RequestsLibrary.GET On Session
+    ...    ${session}
+    ...    url=${PC_NW_TOPOLOGY}=${topology}?content=nonconfig
+    ...    expected_status=any
     IF    ${response.status_code} != 200
         Fail    Get on ${topology} returned status code ${response.status_code} with message: ${response.text}
     END
index 5b52393e23cce899983d1b64beab4e038909e6ed..506b41f946f64e0ee08e456f64aff68afef88a40 100644 (file)
@@ -137,7 +137,10 @@ Verify_Bgp_Peer_Connection
     # TODO:    This keyword is not specific to prefix counting. Find a better place for it.
     ${peer_check_url} =    BuiltIn.Set_Variable    ${REST_API}/bgp-rib:bgp-rib/rib=example-bgp-rib/peer=bgp:%2F%2F
     ${exp_status_code} =    BuiltIn.Set_Variable_If    ${connected}    200    404
-    ${rsp} =    RequestsLibrary.GET On Session    ${session}    url=${peer_check_url}${peer_ip}?content=nonconfig    expected_status=${exp_status_code}
+    ${rsp} =    RequestsLibrary.GET On Session
+    ...    ${session}
+    ...    url=${peer_check_url}${peer_ip}?content=nonconfig
+    ...    expected_status=${exp_status_code}
     BuiltIn.Log    ${rsp.content}
 
 Set_Shard_Leaders_Location_And_Verify
index 6f8f9655743c82f1a76accd449de1e80d925930d..527f4c111fbf16a61125307c98072b932b484c60 100644 (file)
@@ -10,8 +10,8 @@ Suite Teardown      Delete All Sessions
 *** Test Cases ***
 Create Basic Import
     [Documentation]    schedule a basic import/restore with data containg controller mounting itself as a NETCONF
-    ...                device. The configuration is documented in
-    ...                https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#spawning-new-netconf-connectors
+    ...    device. The configuration is documented in
+    ...    https://docs.opendaylight.org/projects/netconf/en/latest/user-guide.html#spawning-new-netconf-connectors
     [Tags]    create restore
     DaeximKeywords.Cleanup The Export Files    ${FIRST_CONTROLLER_INDEX}
     ClusterManagement.Stop_Members_From_List_Or_All
index e997c74d01af8ef9d74e09f1bd0bdae1ed7f6e20..72fb5475821467b81829c51f50ac4751e0eab170 100644 (file)
@@ -16,16 +16,16 @@ Suite Teardown      End Suite
 
 
 *** Variables ***
-${XMLSDIR}              ${CURDIR}/../../../../csit/variables/openflowplugin
-@{FLOWFILE}             f279.xml    f280.xml    f281.xml    f282.xml    f283.xml    f284.xml    f278.xml
-@{GROUPFILE}            g279.xml    g280.xml    g281.xml
-@{GROUP_ID}             1    2    3
-${FLAG_MSG}             "bundle-based-reconciliation-enabled configuration property was changed to 'true'"
-${STATIC_FLOW}          table=91
+${XMLSDIR}                  ${CURDIR}/../../../../csit/variables/openflowplugin
+@{FLOWFILE}                 f279.xml    f280.xml    f281.xml    f282.xml    f283.xml    f284.xml    f278.xml
+@{GROUPFILE}                g279.xml    g280.xml    g281.xml
+@{GROUP_ID}                 1    2    3
+${FLAG_MSG}                 "bundle-based-reconciliation-enabled configuration property was changed to 'true'"
+${STATIC_FLOW}              table=91
 @{DATA_MODELS}
-...                     data/opendaylight-inventory:nodes?${RFC8040_CONFIG_CONTENT}
-...                     data/opendaylight-inventory:nodes?${RFC8040_OPERATIONAL_CONTENT}
-${INTEGRATION_BRIDGE}   br-int
+...                         data/opendaylight-inventory:nodes?${RFC8040_CONFIG_CONTENT}
+...                         data/opendaylight-inventory:nodes?${RFC8040_OPERATIONAL_CONTENT}
+${INTEGRATION_BRIDGE}       br-int
 
 
 *** Test Cases ***