예제 #1
0
 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))
예제 #2
0
 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))
예제 #3
0
 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))
예제 #4
0
 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))