From: Jozef Behran Date: Mon, 21 Mar 2016 11:22:46 +0000 (+0100) Subject: Add PIP installation command into notifications test suite X-Git-Tag: release/beryllium-sr1~6 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=d044d4ac50836f795f25ad0beaff40e0cc08bd97 Add PIP installation command into notifications test suite 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 --- diff --git a/csit/suites/netconf/notifications/notifications_basic.robot b/csit/suites/netconf/notifications/notifications_basic.robot index d8007c877e..c6bd7c6640 100644 --- a/csit/suites/netconf/notifications/notifications_basic.robot +++ b/csit/suites/netconf/notifications/notifications_basic.robot @@ -133,6 +133,9 @@ Setup_Everything 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')"