From ef64a297f22f53e6adec337da5b9c4c383eebabf Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Mon, 23 Oct 2017 16:05:52 +0700 Subject: [PATCH] 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 --- .gitignore | 1 + .stestr.conf | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .stestr.conf diff --git a/.gitignore b/.gitignore index 18b96c95..b4df17af 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ pip-log.txt cover cover-master nosetests.xml +.stestr/ .testrepository # Translations diff --git a/.stestr.conf b/.stestr.conf new file mode 100644 index 00000000..82fae321 --- /dev/null +++ b/.stestr.conf @@ -0,0 +1,3 @@ +[DEFAULT] +test_path=${OS_TEST_PATH:-./zunclient/tests/unit} +top_dir=./