Repair OF test
[integration/test.git] / csit / libraries / DaeximKeywords.robot
index e1a7fb731f3e0e6c35c72a3c1a1573aa5015e51d..31e5263393343f109574065cb3165244232a95b8 100644 (file)
@@ -6,7 +6,7 @@ Library           RequestsLibrary
 Resource          ClusterManagement.robot
 Resource          ../variables/daexim/DaeximVariables.robot
 Resource          ../variables/Variables.robot
-Resource          Utils.robot
+Resource          SSHKeywords.robot
 
 *** Keywords ***
 Verify Export Files
@@ -29,7 +29,6 @@ Cleanup The Export Files
     ${host_index}    Builtin.Convert To Integer    ${host_index}
     Builtin.Run Keyword And Ignore Error    ClusterManagement.Delete_And_Check_Member_List_Or_All    ${TOPOLOGY_URL}    ${host_index}
     ${output1}    Builtin.Run Keyword and IgnoreError    ClusterManagement.Run Bash Command On Member    sudo rm -rf ${WORKSPACE}/${BUNDLEFOLDER}/daexim;clear    ${host_index}
-    # Executing the deletion without sudo prevents "sudo: no tty present and no askpass program specified" errors
     ${output2}    Builtin.Run Keyword and IgnoreError    ClusterManagement.Run Bash Command On Member    rm -rf ${WORKSPACE}/${BUNDLEFOLDER}/daexim;clear    ${host_index}
     ${output}    ClusterManagement.Run Bash Command On Member    ls -lart ${WORKSPACE}/${BUNDLEFOLDER}    ${host_index}
     Builtin.Log    ${output}
@@ -107,7 +106,7 @@ Return ConnnectionID
     [Arguments]    ${system}=${ODL_SYSTEM_IP}    ${prompt}=${DEFAULT_LINUX_PROMPT}    ${prompt_timeout}=${DEFAULT_TIMEOUT}    ${user}=${ODL_SYSTEM_USER}    ${password}=${ODL_SYSTEM_PASSWORD}
     [Documentation]    Returns the connection of any host. Defaults to controller
     ${conn_id}    SSHLibrary.Open Connection    ${system}    prompt=${prompt}    timeout=${prompt_timeout}
-    Utils.Flexible SSH Login    ${user}    ${password}
+    SSHKeywords.Flexible SSH Login    ${user}    ${password}
     [Return]    ${conn_id}
 
 Cleanup Directory