jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks REST - Snapshot API (#244)
Date Fri, 04 Mar 2016 11:06:16 GMT
> +
> +      assertSnapshotAvailable(testSnapshot);
> +   }
> +
> +   @AfterClass(alwaysRun = true)
> +   public void teardownTest() {
> +      if (dataCenter != null)
> +         deleteDataCenter(dataCenter.id());
> +   }
> +   
> +   @Test
> +   public void testList() {
> +      List<Snapshot> snapshots = snapshotApi().getList();
> +
> +      assertNotNull(snapshots);
> +      assertFalse(snapshots.isEmpty());

Assert that it actually contains the just created snapshot?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/244/files#r55017463
Mime
View raw message