def snapshots(self): return UnitySnapList(cli=self._cli, storage_resource=self.storage_resource)
def test_get_all(self): snaps = UnitySnapList(cli=t_rest()) assert_that(snaps[0].existed, equal_to(True)) assert_that(len(snaps), equal_to(3))