Enable passing arguments to nose via tox.
This commit is contained in:
parent
6b24bf32e4
commit
02beabec2b
4
tox.ini
4
tox.ini
@ -3,7 +3,7 @@ envlist = py26,py27,py34
|
|||||||
recreate = True
|
recreate = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = python -m nose tests
|
commands = python -m nose {posargs:tests}
|
||||||
deps =
|
deps =
|
||||||
contextlib2
|
contextlib2
|
||||||
httpretty>=0.7.1
|
httpretty>=0.7.1
|
||||||
@ -13,7 +13,7 @@ deps =
|
|||||||
pyflakes
|
pyflakes
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv:py26]
|
||||||
commands = nosetests tests
|
commands = nosetests {posargs:tests}
|
||||||
deps =
|
deps =
|
||||||
contextlib2
|
contextlib2
|
||||||
httpretty>=0.7.1
|
httpretty>=0.7.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user