Use os-testr
Use os-testr, its more user friendly compared to testr. Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
parent
31c52697ca
commit
b399015b3f
|
@ -14,5 +14,6 @@ oslotest>=1.10.0 # Apache-2.0
|
||||||
testrepository>=0.0.18
|
testrepository>=0.0.18
|
||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
testtools>=1.4.0
|
testtools>=1.4.0
|
||||||
|
os-testr
|
||||||
-e git+https://github.com/lxc/pylxd#egg=pylxd
|
-e git+https://github.com/lxc/pylxd#egg=pylxd
|
||||||
-e git+https://github.com/openstack/nova#egg=nova
|
-e git+https://github.com/openstack/nova#egg=nova
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -11,7 +11,7 @@ setenv =
|
||||||
EVENTLET_NO_GREENDNS=yes
|
EVENTLET_NO_GREENDNS=yes
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = ostestr {posargs}
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
commands = flake8
|
commands = flake8
|
||||||
|
|
Loading…
Reference in New Issue