summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@redhat.com>2013-05-31 20:13:37 +1000
committerAngus Salkeld <asalkeld@redhat.com>2013-05-31 20:13:37 +1000
commitc4174d39ae460f3064ca7cfb1cb20ba9bd2d3e14 (patch)
tree9cb29462d8a92599bd15ffd06accc10ce68aa1e5 /tox.ini
parent2e6e49f7fa49c977fb9e406e1a49a99792e80775 (diff)
downloadpython-heatclient-c4174d39ae460f3064ca7cfb1cb20ba9bd2d3e14.tar.gz
Migrate to testr from nose.
Change-Id: Ibe0c2eeee9aeb4cb1832456cdc0d080a5a9af175
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 3 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index 91a0595..917dcc7 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,14 +3,9 @@ envlist = py26,py27,pep8
[testenv]
setenv = VIRTUAL_ENV={envdir}
- NOSE_WITH_OPENSTACK=1
- NOSE_OPENSTACK_COLOR=1
- NOSE_OPENSTACK_RED=0.05
- NOSE_OPENSTACK_YELLOW=0.025
- NOSE_OPENSTACK_SHOW_ELAPSED=1
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-commands = nosetests
+commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
@@ -19,7 +14,8 @@ commands = flake8
commands = {posargs}
[testenv:cover]
-commands = nosetests --cover-erase --cover-package=heatclient --with-xcoverage
+commands = python setup.py testr --coverage --testr-args='{posargs}'
+
[tox:jenkins]
downloadcache = ~/cache/pip