> +import org.jclouds.openstack.glance.v2_0.options.UpdateImageOptions;
> +import
> org.jclouds.openstack.glance.v2_0.options.UpdateImageOptions.Operation;
> +import org.jclouds.openstack.glance.v2_0.parse.ParseImageTest;
> +import org.jclouds.openstack.glance.v2_0.parse.ParseImagesTest;
> +import org.jclouds.rest.AuthorizationException;
> +import org.jclouds.rest.ResourceNotFoundException;
> +import org.jclouds.util.Strings2;
> +import org.testng.annotations.Test;
> +
> +import com.google.common.collect.ImmutableSet;
> +
> +/**
> + * @author Ignacio Mulas
> + */
> +@Test(groups = "unit", testName = "ImageApiExpectTest")
> +public class ImageApiExpectTest extends BaseGlanceApiExpectTest {
We don't write ExpectTests anymore. All new unit test should be MockTests. See
https://github.com/jclouds/jclouds-labs-openstack/tree/master/rackspace-autoscale/src/test/java/org/jclouds/rackspace/autoscale/v1/features
for some good examples by @zack-shoylev.
Can you please replace this class with ImageApiMockTest?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/77/files#r9436826