Index: tox.ini |
diff --git a/tox.ini b/tox.ini |
index 0083acc023bf9f7ad54e7a62d7c26cb0760da18c..e4d16d1c92c2d61f5217356e18c6e793c8c8f4c2 100644 |
--- a/tox.ini |
+++ b/tox.ini |
@@ -15,11 +15,19 @@ putty-ignore = |
publicSuffixListUpdater.py : A108,E501,F821,N802,N803 |
releaseAutomation.py : A102,A107,A108,A302,E501,F401,N803,N806 |
+[coverage:run] |
+omit = tests/* |
+ |
+[coverage:report] |
+show_missing = True |
+ |
[testenv] |
setenv = |
PYTHONPATH = {toxinidir}/.. |
deps = |
+ pycrypto |
pytest |
+ pytest-cov |
jinja2 |
# flake8-putty is not yet compatible with flake8 3.0 |
flake8==2.* |
@@ -27,5 +35,5 @@ deps = |
pep8-naming |
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo |
commands = |
- py.test tests |
+ pytest tests --capture=sys --cov=buildtools |
flake8 |