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

Side by Side Diff: tox.ini

Issue 29940559: Issue 7112 - Add centralised conftest (Closed)
Patch Set: Addressed comments from Patch Set #1 Created Nov. 14, 2018, 4:08 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
« sitescripts/extensions/test/utils.py ('K') | « tests/conftest.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 test from all files. 7 # to instruct pytest to load test from all files.
8 python_files = *.py 8 python_files = *.py
9 9
10 [run] 10 [run]
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 SITESCRIPTS_CONFIG = ./.sitescripts.test 97 SITESCRIPTS_CONFIG = ./.sitescripts.test
98 whitelist_externals = cp 98 whitelist_externals = cp
99 commands = 99 commands =
100 cp .sitescripts.example .sitescripts.test 100 cp .sitescripts.example .sitescripts.test
101 pysed \ 101 pysed \
102 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 102 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
103 '' .sitescripts.test --write 103 '' .sitescripts.test --write
104 python ensure_dependencies.py 104 python ensure_dependencies.py
105 py.test \ 105 py.test \
106 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \ 106 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip ts \
107 tests \
107 sitescripts/hg/test \ 108 sitescripts/hg/test \
108 sitescripts/notifications/test \ 109 sitescripts/notifications/test \
109 sitescripts/formmail/test \ 110 sitescripts/formmail/test \
110 sitescripts/extensions/test \ 111 sitescripts/extensions/test \
111 sitescripts/subscriptions/test \ 112 sitescripts/subscriptions/test \
112 sitescripts/reports/tests \ 113 sitescripts/reports/tests \
113 sitescripts/oauth2dl/test/test_oauth2dl.py \ 114 sitescripts/oauth2dl/test
114 tests
115 flake8 sitescripts multiplexer.py multiplexer.fcgi 115 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW
« sitescripts/extensions/test/utils.py ('K') | « tests/conftest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld