Move pytest options to [pytest] tox section
This commit is contained in:
7
tox.ini
7
tox.ini
@@ -1,6 +1,11 @@
|
||||
[tox]
|
||||
envlist = py{26,27,py,33,34,35}, docs
|
||||
|
||||
[pytest]
|
||||
testpaths = kafka test
|
||||
doctest_optionflags = modules
|
||||
addopts = --durations=10
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
pytest
|
||||
@@ -14,7 +19,7 @@ deps =
|
||||
py{26,27}: six
|
||||
py26: unittest2
|
||||
commands =
|
||||
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --durations=10 --cov=kafka --doctest-modules kafka test}
|
||||
py.test {posargs:--pylint --pylint-rcfile=pylint.rc --pylint-error-types=EF --cov=kafka}
|
||||
setenv =
|
||||
PROJECT_ROOT = {toxinidir}
|
||||
passenv = KAFKA_VERSION
|
||||
|
||||
Reference in New Issue
Block a user