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

Unified Diff: tox.ini

Issue 29501558: Issue 5383 - Add tests for the Chrome and Firefox packagers (Closed)
Patch Set: Refactoring commands Created Oct. 20, 2017, 11:51 a.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
« tests/test_packagerWebExt.py ('K') | « tests/test_packagerWebExt.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tox.ini
diff --git a/tox.ini b/tox.ini
index 6398bc6720472c2dc6e6386aaf025209de0b7bc9..514357f76e9603f94088d0168f313eb3b1ae4231 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,13 +13,21 @@ per-file-ignores =
packagerChrome.py : A101,A104,A107,A111,A112,A302,E501,E711,F841,N802,N803,N806
publicSuffixListUpdater.py : A108,D200,D202,D205,D400,D401,D403,E501,F821,N802,N803
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]
+whitelist_externals = npm
setenv =
PYTHONPATH = {toxinidir}/..
deps =
+ pycrypto
pytest
+ pytest-cov
jinja2
flake8
flake8-per-file-ignores
@@ -27,5 +35,6 @@ deps =
pep8-naming
hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake8-eyeo
commands =
- py.test tests
+ npm install --no-package-lock --only=production
Vasily Kuznetsov 2017/10/21 17:41:12 This creates `node_modules` folder that should pro
tlucas 2017/10/22 11:19:14 I thought this was handled by #5559 - but it would
+ pytest tests --capture=sys --cov=buildtools
flake8
« tests/test_packagerWebExt.py ('K') | « tests/test_packagerWebExt.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld