Enable passing arguments to nose via tox.

This commit is contained in:
Daniel Watkins 2015-02-11 11:41:04 +00:00
parent 6b24bf32e4
commit 02beabec2b

View File

@ -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