Use ostestr for tests

The ostestr command has nicer output and it seems like it is going
to have better filtering.

Change-Id: Ia0210b52dee4d1bf56e590e85bbb3ff73d4c0573
This commit is contained in:
TerryHowe 2015-06-04 09:33:55 -06:00
parent a56847387d
commit 785d3f1d3a
2 changed files with 4 additions and 3 deletions

View File

@ -8,10 +8,11 @@ discover
fixtures>=0.3.14
mock>=1.0
python-subunit>=0.0.18
requests-mock>=0.6.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
oslosphinx>=2.5.0 # Apache-2.0
os-client-config>=1.2.0
os-testr>=0.1.0
requests-mock>=0.6.0 # Apache-2.0
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
testrepository>=0.0.18
testscenarios>=0.4
testtools>=1.4.0

View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = ostestr {posargs}
[testenv:functional]
setenv = OS_TEST_PATH=./openstack/tests/functional