'uploaded animated gif image is not compressed.'

@mock.patch.object(settings._wrapped, 'OPTIPNG_PATH', '')
@mock.patch.object(kitsune.upload.tasks.subprocess, 'call')
def test_compressed_image_animated(self, call):

    image = self._uploaded_image(testfile='animated.gif')
    compress_image(image, 'file')
    assert (not call.called)
