From 24df5cb4e9503c4980e84a76b447c686abcfb548 Mon Sep 17 00:00:00 2001 From: Chaoyi Huang Date: Tue, 12 Apr 2016 09:32:39 +0800 Subject: [PATCH] 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 --- {kingbird_tempest_tests => tempest}/README.rst | 4 ++-- {kingbird_tempest_tests => tempest}/__init__.py | 0 {kingbird_tempest_tests => tempest}/plugin.py | 2 +- .../tests/api/kingbird/__init__.py | 0 .../tests/api/kingbird/base.py | 0 .../tests/api/kingbird/test_kingbird_api.py | 0 {kingbird_tempest_tests => tempest}/tests/common/kingbird.py | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename {kingbird_tempest_tests => tempest}/README.rst (92%) rename {kingbird_tempest_tests => tempest}/__init__.py (100%) rename {kingbird_tempest_tests => tempest}/plugin.py (95%) rename {kingbird_tempest_tests => tempest}/tests/api/kingbird/__init__.py (100%) rename {kingbird_tempest_tests => tempest}/tests/api/kingbird/base.py (100%) rename {kingbird_tempest_tests => tempest}/tests/api/kingbird/test_kingbird_api.py (100%) rename {kingbird_tempest_tests => tempest}/tests/common/kingbird.py (100%) diff --git a/kingbird_tempest_tests/README.rst b/tempest/README.rst similarity index 92% rename from kingbird_tempest_tests/README.rst rename to tempest/README.rst index 51c1f7f..49f09ca 100644 --- a/kingbird_tempest_tests/README.rst +++ b/tempest/README.rst @@ -41,8 +41,8 @@ III) Add kingbird_group and KingbirdGroup to list of opts(_opts) 4. Copy tempest testcases for Kingbird:: - $ cp -r kingbird_tempest_tests/tests/api/kingbird /tempest/api/ - $ cp kingbird_tempest_tests/tests/common/kingbird.py /tempest/common/ + $ cp -r tempest/tests/api/kingbird /tempest/api/ + $ cp tempest/tests/common/kingbird.py /tempest/common/ 5. Set kingbird = True under [service_available] section in tempest.conf:: diff --git a/kingbird_tempest_tests/__init__.py b/tempest/__init__.py similarity index 100% rename from kingbird_tempest_tests/__init__.py rename to tempest/__init__.py diff --git a/kingbird_tempest_tests/plugin.py b/tempest/plugin.py similarity index 95% rename from kingbird_tempest_tests/plugin.py rename to tempest/plugin.py index 0f81207..ce9974b 100644 --- a/kingbird_tempest_tests/plugin.py +++ b/tempest/plugin.py @@ -23,7 +23,7 @@ class KingbirdTempestPlugin(plugins.TempestPlugin): def load_tests(self): base_path = os.path.split(os.path.dirname( 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) return full_test_dir, base_path diff --git a/kingbird_tempest_tests/tests/api/kingbird/__init__.py b/tempest/tests/api/kingbird/__init__.py similarity index 100% rename from kingbird_tempest_tests/tests/api/kingbird/__init__.py rename to tempest/tests/api/kingbird/__init__.py diff --git a/kingbird_tempest_tests/tests/api/kingbird/base.py b/tempest/tests/api/kingbird/base.py similarity index 100% rename from kingbird_tempest_tests/tests/api/kingbird/base.py rename to tempest/tests/api/kingbird/base.py diff --git a/kingbird_tempest_tests/tests/api/kingbird/test_kingbird_api.py b/tempest/tests/api/kingbird/test_kingbird_api.py similarity index 100% rename from kingbird_tempest_tests/tests/api/kingbird/test_kingbird_api.py rename to tempest/tests/api/kingbird/test_kingbird_api.py diff --git a/kingbird_tempest_tests/tests/common/kingbird.py b/tempest/tests/common/kingbird.py similarity index 100% rename from kingbird_tempest_tests/tests/common/kingbird.py rename to tempest/tests/common/kingbird.py