Merge "Remove use of deprecated config options for volume API selection"

This commit is contained in:
Zuul 2021-04-12 18:15:16 +00:00 committed by Gerrit Code Review
commit 168e151c67
1 changed files with 2 additions and 4 deletions

View File

@ -72,10 +72,8 @@ class ScenarioTest(tempest.test.BaseTestCase):
cls.security_group_rules_client = ( cls.security_group_rules_client = (
cls.os_admin.security_group_rules_client) cls.os_admin.security_group_rules_client)
if (CONF.volume_feature_enabled.api_v2 or cls.volumes_client = cls.os_admin.volumes_client_latest
CONF.volume_feature_enabled.api_v3): cls.snapshots_client = cls.os_admin.snapshots_client_latest
cls.volumes_client = cls.os_admin.volumes_client_latest
cls.snapshots_client = cls.os_admin.snapshots_client_latest
# ## Test functions library # ## Test functions library
# #