Beispiel #1
0
 def test_get(self):
     ndu = VNXNdu.get(t_cli(), '-VNXSnapshots')
     assert_that(ndu.name, equal_to('-VNXSnapshots'))
     assert_that(ndu.revision, equal_to('-'))
     assert_that(ndu.commit_required, equal_to(False))
     assert_that(ndu.revert_possible, equal_to(False))
     assert_that(ndu.active_state, equal_to(True))
     assert_that(ndu.is_installation_completed, equal_to(True))
     assert_that(ndu.is_this_system_software, equal_to(False))
Beispiel #2
0
 def test_get(self):
     ndu = VNXNdu.get(t_cli(), '-VNXSnapshots')
     assert_that(ndu.name, equal_to('-VNXSnapshots'))
     assert_that(ndu.revision, equal_to('-'))
     assert_that(ndu.commit_required, equal_to(False))
     assert_that(ndu.revert_possible, equal_to(False))
     assert_that(ndu.active_state, equal_to(True))
     assert_that(ndu.is_installation_completed, equal_to(True))
     assert_that(ndu.is_this_system_software, equal_to(False))
Beispiel #3
0
 def test_get_all(self):
     ndu_list = VNXNdu.get(t_cli())
     assert_that(len(ndu_list), equal_to(16))
Beispiel #4
0
 def get_ndu(self, name=None):
     return VNXNdu.get(self._cli, name)
Beispiel #5
0
 def test_get_all(self):
     ndu_list = VNXNdu.get(t_cli())
     assert_that(len(ndu_list), equal_to(16))