Пример #1
0
 def snapshots(self):
     return UnitySnapList(cli=self._cli,
                          storage_resource=self.storage_resource)
Пример #2
0
 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))