Rename SwiftScenarioTest to ObjectStorageScenarioTest
This commit renames SwiftScenarioTest to ObjectStorageScenarioTest
because of the consistency. The name of the other scenario test classes
are service name not project name: e.g. Network, Baremetal, etc.
Change-Id: I701b9ba9fda536b50b2fcbf6922f0b64f6404bf7
diff --git a/tempest/scenario/manager.py b/tempest/scenario/manager.py
index d70021c..b446807 100644
--- a/tempest/scenario/manager.py
+++ b/tempest/scenario/manager.py
@@ -1343,9 +1343,9 @@
control_location=control_location)['encryption']
-class SwiftScenarioTest(ScenarioTest):
+class ObjectStorageScenarioTest(ScenarioTest):
"""
- Provide harness to do Swift scenario tests.
+ Provide harness to do Object Storage scenario tests.
Subclasses implement the tests that use the methods provided by this
class.
@@ -1353,7 +1353,7 @@
@classmethod
def skip_checks(cls):
- super(SwiftScenarioTest, cls).skip_checks()
+ super(ObjectStorageScenarioTest, cls).skip_checks()
if not CONF.service_available.swift:
skip_msg = ("%s skipped as swift is not available" %
cls.__name__)
@@ -1362,13 +1362,13 @@
@classmethod
def setup_credentials(cls):
cls.set_network_resources()
- super(SwiftScenarioTest, cls).setup_credentials()
+ super(ObjectStorageScenarioTest, cls).setup_credentials()
operator_role = CONF.object_storage.operator_role
cls.os_operator = cls.get_client_manager(roles=[operator_role])
@classmethod
def setup_clients(cls):
- super(SwiftScenarioTest, cls).setup_clients()
+ super(ObjectStorageScenarioTest, cls).setup_clients()
# Clients for Swift
cls.account_client = cls.os_operator.account_client
cls.container_client = cls.os_operator.container_client