Use explicit RequestsLibrary.Create_Session reference
[integration/test.git] / csit / libraries / Utils.robot
index 8da7c254d0ebbd13a96568f78afa4a08cbaccfc3..449b9a1d39abaff4d0d12070f8b080bdd5df727e 100644 (file)
@@ -664,11 +664,3 @@ Check Diagstatus
         BuiltIn.Should Be Equal As Strings    ${resp.status_code}    ${expected_status}
     END
     RETURN    ${resp}
-
-Download File On Openstack Node
-    [Documentation]    Download a file from web to the node. the input will be a session ID with established SSH connection.
-    [Arguments]    ${conn_id}    ${save_file_name}    ${url}
-    SSHLibrary.Switch Connection    ${conn_id}
-    Utils.Write Commands Until Expected Prompt
-    ...    wget -O /tmp/${save_file_name} ${url}
-    ...    ${DEFAULT_LINUX_PROMPT_STRICT}