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

Side by Side Diff: tox.ini

Issue 29350441: Noissue - Add tests for formmail handler (Closed)
Patch Set: Created Sept. 2, 2016, 2:35 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 [tox] 1 [tox]
2 envlist = py27 2 envlist = py27
3 skipsdist = true 3 skipsdist = true
4 4
5 [pytest] 5 [pytest]
6 # The names of the test files here don't start with 'test_' so we need 6 # The names of the test files here don't start with 'test_' so we need
7 # to instruct pytest to load tests from all files. 7 # to instruct pytest to load tests from all files.
8 python_files = *.py 8 python_files = *.py
9 9
10 [run] 10 [run]
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 sitescripts/utils.py : A107,A301,E501,E713,N801,N802,N806 71 sitescripts/utils.py : A107,A301,E501,E713,N801,N802,N806
72 sitescripts/web.py : A107,E501,N802 72 sitescripts/web.py : A107,E501,N802
73 multiplexer.py : A107,E501 73 multiplexer.py : A107,E501
74 74
75 [testenv] 75 [testenv]
76 basepython=python2 76 basepython=python2
77 deps = 77 deps =
78 pytest 78 pytest
79 pytest-cov 79 pytest-cov
80 mock 80 mock
81 pytest-mock
82 wsgi_intercept
81 jinja2 83 jinja2
82 pysed 84 pysed
83 # flake8-putty is not yet compatible with flake8 3.0 85 # flake8-putty is not yet compatible with flake8 3.0
84 flake8==2.* 86 flake8==2.*
85 flake8-putty 87 flake8-putty
86 pep8-naming 88 pep8-naming
87 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp 89 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp
88 90
89 setenv = 91 setenv =
90 SITESCRIPTS_CONFIG = ./.sitescripts.test 92 SITESCRIPTS_CONFIG = ./.sitescripts.test
91 whitelist_externals = cp 93 whitelist_externals = cp
92 commands = 94 commands =
93 cp .sitescripts.example .sitescripts.test 95 cp .sitescripts.example .sitescripts.test
94 pysed \ 96 pysed \
95 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 97 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
96 '' .sitescripts.test --write 98 '' .sitescripts.test --write
97 python ensure_dependencies.py 99 python ensure_dependencies.py
98 py.test \ 100 py.test \
99 --cov-config tox.ini --cov-report term --cov sitescripts \ 101 --cov-config tox.ini --cov-report term --cov sitescripts \
100 sitescripts/hg/test \ 102 sitescripts/hg/test \
101 sitescripts/notifications/test \ 103 sitescripts/notifications/test \
102 sitescripts/stats/test 104 sitescripts/stats/test \
105 sitescripts/formmail/test
103 flake8 sitescripts multiplexer.py multiplexer.fcgi 106 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW
« sitescripts/formmail/test/test_formmail.py ('K') | « sitescripts/formmail/test/test_formmail.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld