def get_cg(self, name=None): return VNXConsistencyGroup.get(self._cli, name)
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))
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'))
def test_list_consistency_group(self): assert_that(len(VNXConsistencyGroup.get(t_cli())), equal_to(2))