Codebase list cinder-tempest-plugin / fe3a19e
Remove obsolete Liberty code Addressing #TODO tag, Liberty has been EOL for several months now. Change-Id: I725449025915d98d81c8363d367562f932fe7fd2 Nicholas Jones 9 years ago
1 changed file(s) with 0 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
1212 # License for the specific language governing permissions and limitations
1313 # under the License.
1414
15 from oslo_config import cfg
16 import testtools
17
1815 from tempest.api.volume import base as volume_base
1916 from tempest.common import waiters
2017 from tempest import config
2118 from tempest.lib.common.utils import data_utils
2219 from tempest.lib import decorators
2320
24 # TODO(obutenko): Remove this when liberty-eol happens.
25 snapshot_backup_opt = cfg.BoolOpt('snapshot_backup',
26 default=False,
27 help='Creating backup from snapshot not '
28 'implemented in Liberty.')
29
3021 CONF = config.CONF
31 CONF.register_opt(snapshot_backup_opt, group='volume-feature-enabled')
3222
3323
3424 class VolumesBackupsTest(volume_base.BaseVolumeTest):
3929 if not CONF.volume_feature_enabled.backup:
4030 raise cls.skipException("Cinder backup feature disabled")
4131
42 @testtools.skipUnless(CONF.volume_feature_enabled.snapshot_backup,
43 "Skip. Not implemented in Liberty.")
4432 @decorators.idempotent_id('885410c6-cd1d-452c-a409-7c32b7e0be15')
4533 def test_volume_snapshot_backup(self):
4634 """Create backup from snapshot."""