diff options
Diffstat (limited to 'tempest/api/object_storage/base.py')
-rw-r--r-- | tempest/api/object_storage/base.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tempest/api/object_storage/base.py b/tempest/api/object_storage/base.py index c8697e1ad..8bc9b12b8 100644 --- a/tempest/api/object_storage/base.py +++ b/tempest/api/object_storage/base.py @@ -37,9 +37,11 @@ class BaseObjectTest(tempest.test.BaseTestCase): def setup_credentials(cls): cls.set_network_resources() super(BaseObjectTest, cls).setup_credentials() + operator_role = CONF.object_storage.operator_role + # There are no credentials by type used by object storage tests so + # isolated_creds must still be initialized cls.isolated_creds = credentials.get_isolated_credentials( cls.__name__, network_resources=cls.network_resources) - operator_role = CONF.object_storage.operator_role if not cls.isolated_creds.is_role_available(operator_role): skip_msg = ("%s skipped because the configured credential provider" " is not able to provide credentials with the %s role " |