Generate stestr.conf

When run functional tests, a warning was raised:

UserWarning: No .stestr.conf file found in the CWD. Please create one
to to replace the .testr.conf.

This patch creates a .stestr.conf file but keep .testr.conf. Will
remove it & its usage when testrepository is completely replaced by
stestr. OpenStack has a long-term plan for this [1].

[1] https://review.openstack.org/#/c/491075/

Change-Id: I3507c381551d153fc6ca742b8bd4b8333710580b
This commit is contained in:
Kien Nguyen 2017-10-23 16:05:52 +07:00
parent 3a3f4535b9
commit ef64a297f2
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -27,6 +27,7 @@ pip-log.txt
cover
cover-master
nosetests.xml
.stestr/
.testrepository
# Translations

3
.stestr.conf Normal file
View File

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