diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-04-06 12:21:59 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-05-03 17:26:07 -0400 |
commit | ef46c65837343aa3ef6c89067469ec2ab848d6b5 (patch) | |
tree | 046f40b8dc0e9263078578f1c0ca45e1df28d565 /tox.ini | |
parent | ffbdc2acb632ab3380389eb3669251a481714614 (diff) | |
download | oslo-config-ef46c65837343aa3ef6c89067469ec2ab848d6b5.tar.gz |
Upgrade testing to use testr.
Change-Id: Ib0e73c125c908898735e60e5b435468bc2b08316
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -5,7 +5,7 @@ envlist = py26,py27,pep8,pylint setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/tools/pip-requires -r{toxinidir}/tools/test-requires -commands = nosetests --with-doctest --exclude-dir=tests/testmods {posargs} +commands = python setup.py testr --slowest --testr-args='{posargs}' [testenv:pep8] deps = pep8==1.3.3 @@ -17,7 +17,10 @@ commands = python ./tools/lint.py ./oslo python ./tools/lint.py ./tests [testenv:cover] -setenv = NOSE_WITH_COVERAGE=1 +setenv = VIRTUAL_ENV={envdir} +commands = + python setup.py testr --coverage + [testenv:venv] commands = {posargs} |