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

Side by Side Diff: tox.ini

Issue 29354748: Fixes 4464 - Restore get_min_sdk_version() function from sitescripts.extensions.android module that… (Closed) Base URL: https://hg.adblockplus.org/sitescripts
Patch Set: Add a test Created Sept. 23, 2016, 4:26 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 81 pytest-mock
82 wsgi_intercept 82 wsgi_intercept
83 jinja2 83 jinja2
84 pycrypto
84 pysed 85 pysed
85 # flake8-putty is not yet compatible with flake8 3.0 86 # flake8-putty is not yet compatible with flake8 3.0
86 flake8==2.* 87 flake8==2.*
87 flake8-putty 88 flake8-putty
88 pep8-naming 89 pep8-naming
89 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp 90 hg+https://hg.adblockplus.org/codingtools#egg=flake8-abp&subdirectory=flake8 -abp
90 91
91 setenv = 92 setenv =
92 SITESCRIPTS_CONFIG = ./.sitescripts.test 93 SITESCRIPTS_CONFIG = ./.sitescripts.test
93 whitelist_externals = cp 94 whitelist_externals = cp
94 commands = 95 commands =
95 cp .sitescripts.example .sitescripts.test 96 cp .sitescripts.example .sitescripts.test
96 pysed \ 97 pysed \
97 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \ 98 -r sitescripts\.(reports|testpages|crawler|urlfixer)\.web.* \
98 '' .sitescripts.test --write 99 '' .sitescripts.test --write
99 python ensure_dependencies.py 100 python ensure_dependencies.py
100 py.test \ 101 py.test \
101 --cov-config tox.ini --cov-report term --cov sitescripts \ 102 --cov-config tox.ini --cov-report term --cov sitescripts \
102 sitescripts/hg/test \ 103 sitescripts/hg/test \
103 sitescripts/notifications/test \ 104 sitescripts/notifications/test \
104 sitescripts/stats/test \ 105 sitescripts/stats/test \
105 sitescripts/formmail/test 106 sitescripts/formmail/test \
107 sitescripts/extensions/test
106 flake8 sitescripts multiplexer.py multiplexer.fcgi 108 flake8 sitescripts multiplexer.py multiplexer.fcgi
OLDNEW

Powered by Google App Engine
This is Rietveld