[fix] tests: use backcotes on python package check condition.

This commit is contained in:
Moul 2017-04-06 09:42:12 +02:00
parent e7053eab3a
commit 8538ae126d

View file

@ -326,7 +326,7 @@ elif [ "$1" = "test" ]; then
PIP_DEPENDENCIES="pytest-mock requests-mock"
for DEP in $PIP_DEPENDENCIES
do
if [ -z "pip show $DEP" ]; then
if [ -z `pip show $DEP` ]; then
echo "======================="
echo "Installing $DEP with pip"
echo "======================="