Separate serialization test

This commit is contained in:
Matthew Tretter 2012-11-05 22:44:00 -05:00
parent c752eea6a0
commit c3f7aeca54

View file

@ -0,0 +1,13 @@
"""
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.source_file