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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 mock | 80 mock |
81 pytest-mock | 81 pytest-mock |
82 wsgi_intercept | 82 wsgi_intercept |
83 jinja2 | 83 jinja2 |
84 pycrypto | 84 pycrypto |
85 pysed | 85 pysed |
86 # flake8-putty is not yet compatible with flake8 3.0 | 86 # flake8-putty is not yet compatible with flake8 3.0 |
87 flake8==2.* | 87 flake8==2.* |
88 flake8-putty | 88 flake8-putty |
89 pep8-naming | 89 pep8-naming |
90 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8
-abp | 90 hg+https://hg.adblockplus.org/codingtools#egg=flake8-eyeo&subdirectory=flake
8-eyeo |
91 | 91 |
92 setenv = | 92 setenv = |
93 SITESCRIPTS_CONFIG = ./.sitescripts.test | 93 SITESCRIPTS_CONFIG = ./.sitescripts.test |
94 whitelist_externals = cp | 94 whitelist_externals = cp |
95 commands = | 95 commands = |
96 cp .sitescripts.example .sitescripts.test | 96 cp .sitescripts.example .sitescripts.test |
97 pysed \ | 97 pysed \ |
98 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ | 98 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ |
99 '' .sitescripts.test --write | 99 '' .sitescripts.test --write |
100 python ensure_dependencies.py | 100 python ensure_dependencies.py |
101 py.test \ | 101 py.test \ |
102 --cov-config tox.ini --cov-report term --cov sitescripts \ | 102 --cov-config tox.ini --cov-report term --cov sitescripts \ |
103 sitescripts/hg/test \ | 103 sitescripts/hg/test \ |
104 sitescripts/notifications/test \ | 104 sitescripts/notifications/test \ |
105 sitescripts/stats/test \ | 105 sitescripts/stats/test \ |
106 sitescripts/formmail/test \ | 106 sitescripts/formmail/test \ |
107 sitescripts/extensions/test \ | 107 sitescripts/extensions/test \ |
108 sitescripts/subscriptions/test | 108 sitescripts/subscriptions/test |
109 flake8 sitescripts multiplexer.py multiplexer.fcgi | 109 flake8 sitescripts multiplexer.py multiplexer.fcgi |
OLD | NEW |