def METHOD_NAME(self):
    """An avatar is created from an image file."""
    thumb_content = _create_image_thumbnail(
        "kitsune/upload/tests/media/test.jpg", settings.AVATAR_SIZE, pad=True
    )
    actual_thumb = ImageFile(thumb_content)
    self.assertEqual(settings.AVATAR_SIZE, actual_thumb.width)
    self.assertEqual(settings.AVATAR_SIZE, actual_thumb.height)