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: Ib1f69777740eceece1e4d4e1ef6979383fb714d7
Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
Charles Short 2018-06-20 09:40:12 -04:00
parent 24c468ee22
commit f2ee99e68e
2 changed files with 4 additions and 1 deletions

3
.stestr.conf Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./ceilosca/ceilometer/tests}
top_dir=./

View File

@ -11,7 +11,7 @@ install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
commands = find . -type f -name "*.pyc" -delete
python monasca_test_setup.py
ostestr --serial {posargs}
stestr run --serial {posargs}
whitelist_externals = bash
find