Fix test runner config issues with os-testr 1.0.0

The os-testr 1.0.0 release had a couple of required config changes due
to it's internal usage of stestr. This commit fixes those by adding a
.stestr.conf (to remove a warning) sets the fixture env variables in
the tox.ini instead of being hidden in .testr.conf and removing the
quotes around posargs to make passing args to ostestr actually work.
Also to keep the expected dev experience stestr is used directly for
places where ostestr was called directly.

Change-Id: Ib0fbcb2e7710a6b8219c56ef2a4462c61ea498a9
This commit is contained in:
Matthew Treinish
2017-09-13 16:38:55 -04:00
parent 92b860fa6c
commit d083eceea3
3 changed files with 13 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
[DEFAULT]
test_path=${OS_TEST_PATH:-./nova/tests}
top_dir=./
group_regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+)