'Test: create/edit of an image object'

def _create_image(self):

    images = self.remote.get_images(self.token)
    tprint('new_image')
    image = self.remote.new_image(self.token)
    tprint('modify_image')
    self.assertTrue(self.remote.modify_image(image, 'name', 'testimage0', self.token))
    tprint('save_image')
    self.assertTrue(self.remote.save_image(image, self.token))
    new_images = self.remote.get_images(self.token)
    self.assertTrue((len(new_images) == (len(images) + 1)))
