Switch to using stestr from ostestr
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: Ia63e48a8ffee765a2d0ae43ff0054e3c5f61c992 Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
parent
f0d378ac64
commit
1c663223e7
3
.stestr.conf
Normal file
3
.stestr.conf
Normal file
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
test_path=${OS_TEST_PATH:-./senlin/tests/unit}
|
||||
top_dir=./
|
@ -1,6 +0,0 @@
|
||||
[DEFAULT]
|
||||
test_command=
|
||||
PYTHON=$(echo ${PYTHON:-python} | sed 's/--source senlin//g')
|
||||
${PYTHON} -m subunit.run discover ${OS_TEST_PATH:-./senlin/tests} -t . $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
@ -58,7 +58,6 @@ netifaces==0.10.6
|
||||
openstacksdk==0.11.2
|
||||
os-client-config==1.29.0
|
||||
os-service-types==1.2.0
|
||||
os-testr==1.0.0
|
||||
oslo.cache==1.29.0
|
||||
oslo.concurrency==3.26.0
|
||||
oslo.config==5.2.0
|
||||
|
@ -8,10 +8,9 @@ flake8<2.6.0,>=2.5.4 # MIT
|
||||
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||
mock>=2.0.0 # BSD
|
||||
oslotest>=3.2.0 # Apache-2.0
|
||||
os-testr>=1.0.0 # Apache-2.0
|
||||
stestr>=2.0.0 # Apache-2.0
|
||||
PyMySQL>=0.7.6 # MIT License
|
||||
tempest>=17.1.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
testtools>=2.2.0 # MIT
|
||||
|
||||
|
3
tox.ini
3
tox.ini
@ -18,7 +18,8 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
|
||||
commands =
|
||||
find . -type f -name "*.py[c|o]" -delete
|
||||
rm -f .testrepository/times.dbm
|
||||
ostestr --slowest --regex 'senlin.tests.unit.*' {posargs}
|
||||
stestr run '{posargs}'
|
||||
stestr slowest
|
||||
|
||||
whitelist_externals = bash
|
||||
find
|
||||
|
Loading…
x
Reference in New Issue
Block a user