Use ostestr instead of nosetest
This change aligns packstack unit tests runner with other Open Stack projects Change-Id: I588f12a163e64d90a51f35e98ea20ff691339baa Signed-off-by: Maciej Kucia <maciej@kucia.net>
This commit is contained in:
parent
659eeefc23
commit
eb2ab2ba53
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
|||||||
*.swp
|
*.swp
|
||||||
*.log
|
*.log
|
||||||
.tox
|
.tox
|
||||||
|
.testrepository/
|
||||||
vendor/*
|
vendor/*
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
packstack.egg-info
|
packstack.egg-info
|
||||||
|
4
.testr.conf
Normal file
4
.testr.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./tests $LISTOPT $IDOPTION
|
||||||
|
test_id_option=--load-list $IDFILE
|
||||||
|
test_list_option=--list
|
@ -1,4 +1,4 @@
|
|||||||
nose
|
os-testr>=0.4.1 # Apache-2.0
|
||||||
coverage
|
coverage
|
||||||
hacking>=0.9.5,<0.10
|
hacking>=0.9.5,<0.10
|
||||||
netaddr
|
netaddr
|
||||||
|
3
tox.ini
3
tox.ini
@ -10,7 +10,8 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
|
|
||||||
deps = -r{toxinidir}/tools/pip-requires
|
deps = -r{toxinidir}/tools/pip-requires
|
||||||
-r{toxinidir}/tools/test-requires
|
-r{toxinidir}/tools/test-requires
|
||||||
commands = nosetests {posargs}
|
commands = /usr/bin/find . -type f -name "*.pyc" -delete
|
||||||
|
ostestr {posargs}
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
sitepackages = True
|
sitepackages = True
|
||||||
|
Loading…
Reference in New Issue
Block a user