Пример #1
0
 def get_cg(self, name=None):
     return VNXConsistencyGroup.get(self._cli, name)
Пример #2
0
 def test_update_consistency_group_list_member(self):
     cg_list = VNXConsistencyGroup.get(t_cli())
     cg = cg_list[1]
     name = cg.name
     cg.update()
     assert_that(cg.name, equal_to(name))
Пример #3
0
 def test_list_consistency_group(self):
     cg_list = VNXConsistencyGroup.get(t_cli())
     assert_that(len(cg_list), equal_to(2))
     assert_that(cg_list.name, only_contains('another cg', 'test cg name'))
Пример #4
0
 def test_list_consistency_group(self):
     assert_that(len(VNXConsistencyGroup.get(t_cli())), equal_to(2))