'Tests proper exception is raised if image with ID already exists'

def test_image_create_already_exists(self):

    fixture = self.get_fixture(id=UUID2, location='file:///tmp/glance-tests/2')
    self.assertRaises(exception.Duplicate, self.client.image_create, values=fixture)
