Esempio n. 1
0
 def test_no_ratio(self, m):
     with self.assertRaises(ThumbVideoError):
         get_video_thumb('foo')
Esempio n. 2
0
def get_file_thumb(file):
    if get_file_mime(file) == 'video':
        return get_video_thumb(file)
Esempio n. 3
0
 def test_video_thumb(self, m1, m2, m3):
     get_video_thumb('foo')