Mercurial > kallithea
changeset 5016:46662961d58d
tox.ini: Add nose and pytest deps
author | Marc Abramowitz <marc@marc-abramowitz.com> |
---|---|
date | Tue, 14 Apr 2015 15:35:11 -0700 |
parents | 2481c0a1ed31 |
children | 9c5e6984bd0e |
files | tox.ini |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tox.ini Tue Apr 14 15:08:07 2015 -0700 +++ b/tox.ini Tue Apr 14 15:35:11 2015 -0700 @@ -1,5 +1,10 @@ [tox] -envlist = py26, py27 +envlist = py{26,27}-{pytest,nose} [testenv] -commands = nosetests +deps = + nose: nose + pytest: pytest +commands = + nose: nosetests {posargs} + pytest: py.test {posargs}