def setup_clients(cls): cls._api_version = 2 super(ConsistencyGroupsV2Test, cls).setup_clients() cls.admin_volume_client = cls.os_admin.volumes_v2_client manager = cinder_clients.Manager(cls.os_adm) cls.consistencygroups_adm_client = manager.consistencygroups_adm_client
def setup_clients(cls): cls._api_version = 3 super(VolumeRevertTests, cls).setup_clients() manager = cinder_clients.Manager(cls.os_primary) cls.volume_revert_client = manager.volume_revert_client
def setup_clients(cls): cls._api_version = 2 super(ConsistencyGroupsV2Test, cls).setup_clients() manager = cinder_clients.Manager(cls.os_adm) cls.consistencygroups_adm_client = manager.consistencygroups_adm_client