Change "kingbird_tempest_tests" folder to "tempest"

Currently the tempest test cases are located in the folder
of "kingbird_tempest_tests", change the folder name to "tempest"

bug: https://bugs.launchpad.net/kingbird/+bug/1569111

Change-Id: I278ce2738d50babb55f0160b45479bd1dd0a0b1e
Signed-off-by: Chaoyi Huang <joehuang@huawei.com>
This commit is contained in:
Chaoyi Huang 2016-04-12 09:32:39 +08:00
parent 249007f342
commit 24df5cb4e9
7 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ III) Add kingbird_group and KingbirdGroup to list of opts(_opts)
4. Copy tempest testcases for Kingbird:: 4. Copy tempest testcases for Kingbird::
$ cp -r kingbird_tempest_tests/tests/api/kingbird <tempest root directory>/tempest/api/ $ cp -r tempest/tests/api/kingbird <tempest root directory>/tempest/api/
$ cp kingbird_tempest_tests/tests/common/kingbird.py <tempest root directory>/tempest/common/ $ cp tempest/tests/common/kingbird.py <tempest root directory>/tempest/common/
5. Set kingbird = True under [service_available] section in tempest.conf:: 5. Set kingbird = True under [service_available] section in tempest.conf::

View File

@ -23,7 +23,7 @@ class KingbirdTempestPlugin(plugins.TempestPlugin):
def load_tests(self): def load_tests(self):
base_path = os.path.split(os.path.dirname( base_path = os.path.split(os.path.dirname(
os.path.abspath(__file__)))[0] os.path.abspath(__file__)))[0]
test_dir = "kingbird_tempest_tests/tests/" test_dir = "tempest/tests/"
full_test_dir = os.path.join(base_path, test_dir) full_test_dir = os.path.join(base_path, test_dir)
return full_test_dir, base_path return full_test_dir, base_path