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