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

Unified Diff: tox.ini

Issue 29345468: Issue 4045 - Add Test Suite To CMS (Closed)
Patch Set: I moved the tests folder, now we wait on Vasiliy Created Aug. 21, 2016, 1:42 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 | « tests/test_site/templates/empty.tmpl ('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
@@ -7,16 +7,24 @@
cms/bin/generate_static_pages.py : A107,A301,A302,E501
cms/bin/test_server.py : A101,A107,A302,E501,F401
cms/bin/translate.py : A107,A301,A302,E501,F821
cms/converters.py : A107,A108,A201,A206,A302,E501,E711,N802
cms/sources.py : A104,A107,A108,A206,A302,E501
cms/utils.py : A107,A302,E501
[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}
+
deps =
+ pytest
+ jinja2
+ markdown
flake8
flake8-putty
pep8-naming
hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8-abp
+
commands =
+ py.test tests
flake8 cms runserver.py
Sebastian Noack 2016/08/21 14:33:09 Mind running flake8 also on the tests directory?
flake8 --ignore E501,F821,N802 runserver.spec
« no previous file with comments | « tests/test_site/templates/empty.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld