Index: tox.ini |
diff --git a/tox.ini b/tox.ini |
index f79f0494d5b73efcff10242414862a6f75352f6c..b271f5f5f9a8a791e7472de6255359d14109fe58 100644 |
--- a/tox.ini |
+++ b/tox.ini |
@@ -15,11 +15,19 @@ per-file-ignores = |
releaseAutomation.py : A102,A107,A108,A302,D202,D400,D401,E501,F401,N803,N806 |
tests/test_packagerEdge.py : D401 |
+[coverage:run] |
+omit = tests/* |
+ |
+[coverage:report] |
+show_missing = True |
+ |
[testenv] |
setenv = |
PYTHONPATH = {toxinidir}/.. |
deps = |
+ pycrypto |
pytest |
+ pytest-cov |
jinja2 |
flake8 |
flake8-per-file-ignores |
@@ -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 |