예제 #1
0
파일: test_photo.py 프로젝트: MikeLing/ella
    def setUp(self):
        super(TestPhoto, self).setUp()

        # fixtures
        create_photo_formats(self)

        create_photo(self)
예제 #2
0
파일: test_photo.py 프로젝트: snapbakk/ella
    def setUp(self):
        super(TestPhoto, self).setUp()

        # fixtures
        create_photo_formats(self)

        create_photo(self)
예제 #3
0
파일: test_forms.py 프로젝트: snapbakk/ella
 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=[])
예제 #4
0
파일: test_forms.py 프로젝트: 3108as/ella
 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=[]
     )
예제 #5
0
 def setUp(self):
     super(TestImgParsing, self).setUp()
     create_photo_formats(self)
예제 #6
0
 def setUp(self):
     super(TestImgParsing, self).setUp()
     create_photo_formats(self)