'uploaded image is compressed.'

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

    image = self._uploaded_image()
    compress_image(image, 'file')
    assert call.called
