'Verify handing a broken image to get_badge_class raises a validation error upon creation.'

def test_get_badge_class_image_validate(self):

    self.assertRaises(ValidationError, BadgeClass.get_badge_class, slug='new_slug', issuing_component='new_component', description='This    is    a    test', criteria='https://example.com/test_criteria', display_name='Super    Badge', image_file_handle=get_image('unbalanced'))
