Switch to using stestr
According to Openstack summit session [1] stestr is maintained project to which all Openstack projects should migrate. Let's switch it then. [1] https://etherpad.openstack.org/p/YVR-python-pti Change-Id: I2fdbbafb9ec36c7bcbab6038387aaa31f41316dd Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
d4e28f7e27
commit
b64b16f5a2
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,8 +2,8 @@
|
|||||||
*.swp
|
*.swp
|
||||||
*.log
|
*.log
|
||||||
.tox
|
.tox
|
||||||
.testrepository/
|
|
||||||
vendor/*
|
vendor/*
|
||||||
Gemfile.lock
|
Gemfile.lock
|
||||||
packstack.egg-info
|
packstack.egg-info
|
||||||
releasenotes/build
|
releasenotes/build
|
||||||
|
.stestr
|
||||||
|
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
test_path=./tests
|
||||||
|
top_dir=./
|
@ -1,7 +1,7 @@
|
|||||||
sphinx>=1.6.2 # BSD
|
sphinx>=1.6.2 # BSD
|
||||||
openstackdocstheme>=1.17.0 # Apache-2.0
|
openstackdocstheme>=1.17.0 # Apache-2.0
|
||||||
reno>=0.1.1 # Apache2
|
reno>=0.1.1 # Apache2
|
||||||
os-testr>=0.4.1 # Apache-2.0
|
stestr>=1.0.0 # Apache-2.0
|
||||||
coverage
|
coverage
|
||||||
hacking!=0.13.0,<0.14,>=0.12.0
|
hacking!=0.13.0,<0.14,>=0.12.0
|
||||||
mock>=2.0 # BSD
|
mock>=2.0 # BSD
|
||||||
|
2
tox.ini
2
tox.ini
@ -13,7 +13,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = /usr/bin/find . -type f -name "*.pyc" -delete
|
commands = /usr/bin/find . -type f -name "*.pyc" -delete
|
||||||
ostestr {posargs}
|
stestr run {posargs}
|
||||||
|
|
||||||
[tox:jenkins]
|
[tox:jenkins]
|
||||||
sitepackages = True
|
sitepackages = True
|
||||||
|
Loading…
Reference in New Issue
Block a user