3de38762aa
Change-Id: Ie417df96258c2daa852d14e588de4ad2d54bb819
20 lines
408 B
INI
Executable File
20 lines
408 B
INI
Executable File
[tox]
|
|
envlist=py27, pep8, cover
|
|
|
|
[testenv]
|
|
setenv= CMS_ENV=mock
|
|
PYTHONPATH={toxinidir}:{toxinidir}/cms_rest/extenal_mock/
|
|
deps= -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
py.test --pep8 -m pep8
|
|
|
|
[testenv:cover]
|
|
commands=
|
|
coverage run setup.py test
|
|
coverage report
|
|
coverage html
|
|
#commands={envpython} setup.py test -v {posargs}
|