Stop installing missing deps from PyPi in the Docker image for the unit tests

This commit is contained in:
mprahl
2018-07-16 18:02:13 -04:00
parent 8173040ea6
commit 8adbd2a3d5
2 changed files with 2 additions and 1 deletions

View File

@@ -28,6 +28,7 @@ RUN yum -y install \
python-koji \
python-ldap3 \
python-mock \
python-munch \
python-pip \
python-requests \
python-six \

View File

@@ -9,7 +9,7 @@ for dir in module_build_service tests; do
find ${dir} -type f \( -name '*.pyc' -or -name '*.pyc' \) -exec rm -f {} \;
done
# Since tox seems to ignore `usedevelop` when we have `sitepackages` on, we have to run it manually
python setup.py develop
python setup.py develop --no-deps
/usr/bin/tox -e flake8,py27
# After running tox, we can revert back to the original requirements.txt file
rm -f requirements.txt