OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 pytest-cov | 86 pytest-cov |
87 mock | 87 mock |
88 pytest-mock | 88 pytest-mock |
89 wsgi_intercept | 89 wsgi_intercept |
90 jinja2 | 90 jinja2 |
91 pycrypto | 91 pycrypto |
92 pysed | 92 pysed |
93 flake8 | 93 flake8 |
94 flake8-per-file-ignores>=0.4 | 94 flake8-per-file-ignores>=0.4 |
95 flake8-docstrings | 95 flake8-docstrings |
| 96 flake8-commas |
96 pep8-naming | 97 pep8-naming |
97 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo | 98 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
98 | 99 |
99 setenv = | 100 setenv = |
100 SITESCRIPTS_CONFIG = ./.sitescripts.test | 101 SITESCRIPTS_CONFIG = ./.sitescripts.test |
101 whitelist_externals = cp | 102 whitelist_externals = cp |
102 commands = | 103 commands = |
103 cp .sitescripts.example .sitescripts.test | 104 cp .sitescripts.example .sitescripts.test |
104 pysed \ | 105 pysed \ |
105 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 106 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
106 '' .sitescripts.test --write | 107 '' .sitescripts.test --write |
107 python ensure_dependencies.py | 108 python ensure_dependencies.py |
108 py.test \ | 109 py.test \ |
109 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ | 110 --cov-config tox.ini --cov-report html --cov-report term --cov sitescrip
ts \ |
110 sitescripts/hg/test \ | 111 sitescripts/hg/test \ |
111 sitescripts/notifications/test \ | 112 sitescripts/notifications/test \ |
112 sitescripts/stats/test \ | 113 sitescripts/stats/test \ |
113 sitescripts/formmail/test \ | 114 sitescripts/formmail/test \ |
114 sitescripts/extensions/test \ | 115 sitescripts/extensions/test \ |
115 sitescripts/subscriptions/test \ | 116 sitescripts/subscriptions/test \ |
116 sitescripts/reports/tests \ | 117 sitescripts/reports/tests \ |
117 tests | 118 tests |
118 flake8 sitescripts multiplexer.py multiplexer.fcgi | 119 flake8 sitescripts multiplexer.py multiplexer.fcgi |
OLD | NEW |