Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: tox.ini

Issue 29383956: Issue 4981 - Adds test coverage report (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Created March 14, 2017, 8:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .hgignore ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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=cms tests
flake8 cms tests runserver.py
flake8 --ignore E501,F821,N802 runserver.spec
« no previous file with comments | « .hgignore ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld