示例#1
0
    def test_is_qos_adaptive_weirdly_cased_adaptive_spec(self):
        aqos_spec = {'expecTEDiopsPERgib': '128IOPS/GB'}

        self.assertTrue(na_utils.is_qos_adaptive(aqos_spec))
示例#2
0
    def test_is_qos_adaptive_non_adaptive_spec(self):
        qos_spec = fake.QOS_SPEC

        self.assertFalse(na_utils.is_qos_adaptive(qos_spec))
示例#3
0
    def test_is_qos_adaptive_adaptive_spec(self):
        aqos_spec = fake.ADAPTIVE_QOS_SPEC

        self.assertTrue(na_utils.is_qos_adaptive(aqos_spec))