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: Ide9493cf06b7af03324d46d673047b8ada354e5e
Signed-off-by: Charles Short <zulcss@gmail.com>
changes/23/574723/2
Charles Short 2018-06-12 09:16:42 -04:00
parent 108238b006
commit c260dfaa98
5 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -38,6 +38,7 @@ AUTHORS
ChangeLog
*.sqlite
*~
.stestr
# Vagrant
.vagrant

3
.stestr.conf Normal file
View File

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

View File

@ -128,7 +128,7 @@ sqlalchemy-migrate==0.11.0
SQLAlchemy==1.2.5
sqlparse==0.2.4
statsd==3.2.2
stestr==2.0.0
stestr==1.0.0
stevedore==1.28.0
Tempita==0.5.2
tenacity==4.9.0

View File

@ -8,7 +8,7 @@ coverage!=4.4,>=4.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
os-testr>=1.0.0 # Apache-2.0
stestr>=1.0.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
# Doc requirements

View File

@ -12,7 +12,7 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = ostestr {posargs}
commands = stestr run {posargs}
[testenv:pep8]
whitelist_externals = bash