コード例 #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
ファイル: test_templatetags.py プロジェクト: snapbakk/ella
 def setUp(self):
     super(TestImgParsing, self).setUp()
     create_photo_formats(self)
コード例 #6
0
ファイル: test_templatetags.py プロジェクト: MikeLing/ella
 def setUp(self):
     super(TestImgParsing, self).setUp()
     create_photo_formats(self)