def test_is_qos_adaptive_weirdly_cased_adaptive_spec(self): aqos_spec = {'expecTEDiopsPERgib': '128IOPS/GB'} self.assertTrue(na_utils.is_qos_adaptive(aqos_spec))
def test_is_qos_adaptive_non_adaptive_spec(self): qos_spec = fake.QOS_SPEC self.assertFalse(na_utils.is_qos_adaptive(qos_spec))
def test_is_qos_adaptive_adaptive_spec(self): aqos_spec = fake.ADAPTIVE_QOS_SPEC self.assertTrue(na_utils.is_qos_adaptive(aqos_spec))