Install ipaddr module in Tools VM
[integration/test.git] / csit / libraries / SSHKeywords.robot
index 7fb7ebd1b872962f74a63932aa765a9466a9f5b2..d0bc721435f9b724970fbfa47dbea160e0d9196e 100644 (file)
@@ -143,7 +143,7 @@ Assure_Library_Ipaddr
     [Documentation]    Tests whether ipaddr module is present on ssh-connected machine, Puts ipaddr.py to target_dir if not.
     ${passed} =    Execute_Command_Passes    bash -c 'cd "${target_dir}" && python -c "import ipaddr"'
     BuiltIn.Return_From_Keyword_If    ${passed}
-    SSHLibrary.Put_File    ${CURDIR}/ipaddr.py    ${target_dir}/
+    Execute_Command_Passes    bash -c 'pip install ipaddr'
 
 Assure_Library_Counter
     [Arguments]    ${target_dir}=.