def setUp(self): super(TestPhoto, self).setUp() # fixtures create_photo_formats(self) create_photo(self)
def setUp(self): super(TestFormatForm, self).setUp() create_photo_formats(self) self.other_site = Site.objects.create(name='other', domain='other.com') self.data = dict(name="basic", max_width=20, max_height=20, flexible_height=False, stretch=False, nocrop=False, resample_quality=85, sites=[])
def setUp(self): super(TestFormatForm, self).setUp() create_photo_formats(self) self.other_site = Site.objects.create(name='other', domain='other.com') self.data = dict( name="basic", max_width=20, max_height=20, flexible_height=False, stretch=False, nocrop=False, resample_quality=85, sites=[] )
def setUp(self): super(TestImgParsing, self).setUp() create_photo_formats(self)