예제 #1
0
파일: test_photo.py 프로젝트: MikeLing/ella
 def tearDown(self):
     photos_settings.FORMATED_PHOTO_FILENAME = None
     if self.photo.pk:
         self.photo.delete()
     super(TestPhoto, self).tearDown()
     if redis:
         redis.flushdb()
예제 #2
0
파일: test_photo.py 프로젝트: horakz/ella
 def tearDown(self):
     os.remove(self.image_file_name)
     if self.photo.pk:
         self.photo.delete()
     super(TestPhoto, self).tearDown()
     if redis:
         redis.flushdb()
예제 #3
0
파일: test_photo.py 프로젝트: snapbakk/ella
 def tearDown(self):
     photos_settings.FORMATED_PHOTO_FILENAME = None
     if self.photo.pk:
         self.photo.delete()
     super(TestPhoto, self).tearDown()
     if redis:
         redis.flushdb()
예제 #4
0
 def tearDown(self):
     super(TestImageParsing, self).tearDown()
     if redis:
         redis.flushdb()
예제 #5
0
 def tearDown(self):
     super(TestImageParsing, self).tearDown()
     if redis:
         redis.flushdb()