'Verify that setting an image with an uneven width and height raises an error.'

def test_unbalanced_image(self):

    unbalanced = ImageFile(get_image('unbalanced'))
    self.assertRaises(ValidationError, validate_badge_image, unbalanced)
