tests: use .stestr.conf except for functional tests

In this change [1] os_testr changed under the covers from using
testr to stestr, so that we now get the following warning:

 ostestr.py:120:
 UserWarning: No .stestr.conf file found in the CWD.
 Please create one to to replace the .testr.conf. You can find a
 script to do this in the stestr git repository.

So add .stestr.conf which was generated using a utility script
as documented here [2].  Leave .testr.conf since it is still
used by our functional tests.

[1] Id7cb2a39a8308f1413608dcf19273a1d7f33592e
[2] https://media.readthedocs.org/pdf/stestr/stable/stestr.pdf

TrivialFix

Change-Id: Iff31bd08aa03c5a2ba4e6800e4d57a4585ec51ab
This commit is contained in:
Tom Barron 2017-09-13 09:21:21 -04:00
parent 561d1ab23b
commit fd63aa41ef
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
.coverage
.idea
.testrepository
.stestr/*
.tox/*
.venv
cover/*

4
.stestr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./manilaclient/tests/unit}
top_dir=./
group_regex=([^\.]*\.)*