def test_create_image_thumbnail_default(self):
        thumb_content = _create_image_thumbnail(
            'kitsune/upload/tests/media/test.jpg')
        actual_thumb = ImageFile(thumb_content)
        with open('kitsune/upload/tests/media/test_thumb.jpg') as f:
            expected_thumb = ImageFile(f)

        eq_(expected_thumb.width, actual_thumb.width)
        eq_(expected_thumb.height, actual_thumb.height)
Return creation or edition form if pk is provided
dataset/ETHPy150Open mozilla/kitsune/kitsune/upload/tests/test_tasks.py/CreateThumbnailTestCase.test_create_image_thumbnail_default--crossover with--dataset/ETHPy150Open ionyse/ionyweb/ionyweb/administration/views/page.py/PageView.get