Use sudo to run the tests
in 9ed1964
the tests start using makq_queue_dirs() which does
chown with guid/id 0!
This commit is contained in:
parent
98f3b7e7eb
commit
5500ec8c06
@ -5,7 +5,7 @@ RUN yum -y install --nogpgcheck epel-release && \
|
||||
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* && \
|
||||
yum -y install make libgit2-glib tito python-pylint \
|
||||
python-nose python-mako python-flask \
|
||||
python-coverage libselinux-python \
|
||||
python-coverage libselinux-python sudo \
|
||||
pykickstart python2-pytoml python-sphinx \
|
||||
python2-mock python-semantic_version && \
|
||||
yum clean all && \
|
||||
|
2
Makefile
2
Makefile
@ -28,7 +28,7 @@ check:
|
||||
# /api/docs/ tests require we have the documentation already built
|
||||
test: docs
|
||||
@echo "*** Running tests ***"
|
||||
PYTHONPATH=$(PYTHONPATH):./src/ $(PYTHON) -m nose -v --with-coverage --cover-erase --cover-branches \
|
||||
sudo PYTHONPATH=$(PYTHONPATH):./src/ $(PYTHON) -m nose -v --with-coverage --cover-erase --cover-branches \
|
||||
--cover-package=pylorax --cover-inclusive \
|
||||
./src/pylorax/ ./tests/pylorax/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user