Some tools system images (Ubuntu in particular) don't have
PIP installed and this causes the notifications test suite to
fail. Fix that by adding the code to install PIP before using
it.
Change-Id: Ib871cf554fc9c8e9456e16882d799a532fbf2c8d
Signed-off-by: Jozef Behran <jbehran@cisco.com>
SSHLibrary.Open_Connection ${TOOLS_SYSTEM_IP} alias=receiver
Utils.Flexible_Mininet_Login
SSHLibrary.Put_File ${CURDIR}/../../../../tools/wstools/wsreceiver.py
+ ${output_log} ${error_log}= SSHLibrary.Execute Command sudo apt-get install -y python-pip return_stdout=True return_stderr=True
+ BuiltIn.Log ${output_log}
+ BuiltIn.Log ${error_log}
${output_log} = SSHLibrary.Execute_Command sudo pip install websocket-client
BuiltIn.Log ${output_log}
${output_log} = SSHLibrary.Execute_Command python -c "help('modules')"