def test_constructor(self):
            p = self.PersonModel(name='Joe', mugshot=self.file1)
            self.check_dimensions(p, 4, 8)
            p.save()
            self.check_dimensions(p, 4, 8)
Tests assigning an image field through the model's constructor.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/model_fields/imagefield.py/ImageFieldTwoDimensionsTests.test_constructor