def test_lun_tier_high(self): lun = VNXLun() lun.tiering_policy = 'Highest Available' lun.initial_tier = 'Highest Available' assert_that(lun.tier, equal_to(VNXTieringEnum.HIGH))
def test_lun_tier_no_move_optimize_pool(self): lun = VNXLun() lun.tiering_policy = 'No Movement' lun.initial_tier = 'Optimize Pool' assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))
def test_lun_tier_auto(self): lun = VNXLun() lun.tiering_policy = 'Auto Tier' lun.initial_tier = 'Optimize Pool' assert_that(lun.tier, equal_to(VNXTieringEnum.AUTO))
def test_lun_tier_low(self): lun = VNXLun() lun.tiering_policy = 'Lowest Available' lun.initial_tier = 'Lowest Available' assert_that(lun.tier, equal_to(VNXTieringEnum.LOW))
def test_lun_tier_no_move_high_tier(self): lun = VNXLun() lun.tiering_policy = 'No Movement' lun.initial_tier = 'Highest Available' assert_that(lun.tier, equal_to(VNXTieringEnum.NO_MOVE))