Beispiel #1
0
 def test_int_disabled(self):
     ret = converter.to_int('Disabled')
     assert_that(ret, none())
Beispiel #2
0
 def has_error_code(self, code):
     return to_int(code) in self.problem_message_codes
Beispiel #3
0
 def test_int_disabled(self):
     ret = converter.to_int('Disabled')
     assert_that(ret, none())
Beispiel #4
0
def id_to_lun(lun_id):
    if is_valid(lun_id):
        ret = VNXLun(lun_id=to_int(lun_id))
    else:
        ret = None
    return ret
Beispiel #5
0
 def has_error_code(self, code):
     return to_int(code) in self.problem_message_codes