django-imagekit/tests/test_serialization.py
Matthew Tretter 7578903307 Fix test
2012-12-05 21:10:36 -05:00

13 lines
334 B
Python

"""
Make sure that the various IK classes can be successfully serialized and
deserialized. This is important when using IK with Celery.
"""
from .utils import create_photo, pickleback
def test_imagespecfield():
instance = create_photo('pickletest2.jpg')
thumbnail = pickleback(instance.thumbnail)
thumbnail.generate()