summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-09-27 10:50:19 -0700
committerMonty Taylor <mordred@inaugust.com>2012-09-27 22:34:51 -0700
commit49487a6ac63ae32b61687d9e8aeb0956590445d7 (patch)
treef4e0e154eb6d444536c2895257f2f1606ff02551 /tox.ini
parent431e50a7851d2e7dbb212d02647faeb958ed21e8 (diff)
downloadkeystone-49487a6ac63ae32b61687d9e8aeb0956590445d7.tar.gz
keystone-49487a6ac63ae32b61687d9e8aeb0956590445d7.tar.xz
keystone-49487a6ac63ae32b61687d9e8aeb0956590445d7.zip
Remove run_test.py in favor of stock nose.
Move specific functionality into test fixtures, so that normal test runners can work. For now, this means we can use unaltered nose. For the future, it gets us closer to being able to use other test runners such as testrepository which allow for things like parallel test runs and re-running failed tests in a dev/test cycle. Also, aligns keystone with nova and glance. Change-Id: Ic1966281c0bdfbc09792360209692e9d4a0a51a7
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index ec562420..344f60ad 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_STDOUT=1
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
-commands = bash run_tests.sh -N --no-pep8
+commands = nosetests {posargs}
[testenv:pep8]
deps = pep8==1.3.3
@@ -21,7 +21,7 @@ commands = pep8 --exclude=vcsversion.py,*.pyc,openstack --repeat --show-source b
downloadcache = ~/cache/pip
[testenv:cover]
-commands = /bin/bash run_tests.sh -N -P --with-xcoverage --cover-erase --cover-package=keystone
+setenv = NOSE_WITH_COVERAGE=1
[testenv:venv]
commands = {posargs}