Index: tox.ini |
=================================================================== |
--- a/tox.ini |
+++ b/tox.ini |
@@ -12,24 +12,25 @@ |
cms/utils.py : A107,A302,E501 |
[testenv] |
setenv = |
PYTHONPATH = {toxinidir} |
deps = |
flask |
- pytest |
jinja2 |
urllib3 |
markdown |
+ pytest |
+ pytest-cov |
pytest-mock |
wsgi_intercept |
# flake8-putty is not yet compatible with flake8 3.0 |
flake8==2.* |
flake8-putty |
pep8-naming |
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
commands = |
- py.test tests |
+ py.test --cov-report term --cov-report html --cov=cms tests |
flake8 cms tests runserver.py |
flake8 --ignore E501,F821,N802 runserver.spec |