You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2018. It is now read-only.
make test (in a CI like environment or new environment) fails because it lacks packages like pytest and mock.
Within Virtualenv
(AtomicApp) [vagrant@centos7-adb atomicapp]$ make test
python -m pytest -vv
/home/vagrant/.virtualenvs/AtomicApp/bin/python: No module named pytest
make: *** [test] Error 1
(AtomicApp) [vagrant@centos7-adb atomicapp]$ deactivate
without
[vagrant@centos7-adb atomicapp]$ make test
python -m pytest -vv
/usr/bin/python: No module named pytest
make: *** [test] Error 1
[vagrant@centos7-adb atomicapp]$
This can be solved by adding pip install -r test-requirements.txt in Makefile under test section here.