From 9b5554aa1e01cda065d924c22a7d300a4b51ecdc Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Wed, 29 May 2019 14:01:36 +0300 Subject: [PATCH] tests: Change the way how we remove pyOpenSSL the version coming from RPM is older and prevents installing ansible[azure] via pip. OTOH removing with yum also removes lorax-composer and breaks tests when running against the RPM instead of git checkout (which will be the default with Cockpit CI). Related: rhbz#1715003 --- tests/cli/test_build_and_deploy_azure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/cli/test_build_and_deploy_azure.sh b/tests/cli/test_build_and_deploy_azure.sh index 5ca358d3..f5a985f2 100755 --- a/tests/cli/test_build_and_deploy_azure.sh +++ b/tests/cli/test_build_and_deploy_azure.sh @@ -53,7 +53,8 @@ rlJournalStart rlAssertRpm python2-pip fi - rlRun -t -c "yum -y remove python*-requests python*-dateutil pyOpenSSL" + rlRun -t -c "rpm -e --nodeps pyOpenSSL" + rlRun -t -c "yum -y remove python*-requests python*-dateutil" rlRun -t -c "pip install --upgrade pip setuptools" rlRun -t -c "pip install ansible[azure] futures"