> +/**
> + * Live tests for the {@link ImageApi} class.
> + * 
> + * @author Sergi Castro
> + * @author Ignasi Barrera
> + */
> +@Test(groups = "live", testName = "ImageApiLiveTest")
> +public class KeyPairApiLiveTest extends BaseDigitalOceanLiveTest {
> +
> +   private SshKey key;
> +
> +   @AfterClass
> +   public void cleanup() {
> +      if (key != null) {
> +         api.getKeyPairApi().delete(key.getId());
> +         assertNull(api.getKeyPairApi().get(key.getId()));

No need for assertions here? Print a warning or *really* blow up with an 
IllegalStateException or so?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/49/files#r9166705

Reply via email to