def test_normal_gif(self): image = Image.open(IMAGES_ROOT+'/test_gif.gif') res = detect_format._is_image_sequenced(image) self.assertFalse(res)
def test_animated_gif(self): image = Image.open(IMAGES_ROOT+'/test_animated_gif.gif') res = detect_format._is_image_sequenced(image) self.assertTrue(res)