'Test verify_metadata updates metadata which is ImageTarget instance'

def test_verify_metadata_is_image_target_instance_with_zero_size(self):

    image = ImageStub('test1')
    image.size = 0
    image_meta = glance.api.policy.ImageTarget(image)
    self._test_verify_metadata_zero_size(image_meta)
