def test_lun_provision_dedup(self): lun = VNXLun() lun.is_thin_lun = True lun.is_compressed = False lun.dedup_state = True assert_that(lun.provision, equal_to(VNXProvisionEnum.DEDUPED))
def test_lun_provision_compressed(self): lun = VNXLun() lun.is_thin_lun = True lun.is_compressed = True lun.dedup_state = False assert_that(lun.provision, equal_to(VNXProvisionEnum.COMPRESSED))
def prop(): l1 = VNXLun(lun_id=19, cli=t_cli()) l1.is_compressed = False