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: I745facad3669aa8d737e63c39b3b60cbf34dcafe
Signed-off-by: Charles Short <zulcss@gmail.com>
This commit is contained in:
Charles Short 2018-05-31 09:19:47 -04:00
parent af25ae6e07
commit e7557faf35
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ pip-log.txt
.tox
nosetests.xml
.testrepository
.stestr
.venv
# Translations

3
.stestr.conf Normal file
View File

@ -0,0 +1,3 @@
[DEFAULT]
test_path=./storyboardclient/tests/
top_dir=./

View File

@ -7,7 +7,7 @@ hacking>=0.9.2,<0.10
coverage>=3.6
python-subunit
oslotest>=1.1.0.0a1
os-testr>=0.4.1
stestr>=2.0.0
testrepository>=0.0.18
testscenarios>=0.4
testtools>=0.9.34

View File

@ -10,7 +10,7 @@ setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = ostestr '{posargs}'
commands = stestr run '{posargs}'
[testenv:pep8]
commands = flake8