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
This commit is contained in:
Alexander Todorov 2019-05-29 14:01:36 +03:00 committed by Alexander Todorov
parent 94892e56dd
commit 9b5554aa1e

View File

@ -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"