diff --git a/tests/test_serialization.py b/tests/test_serialization.py new file mode 100644 index 0000000..76d5391 --- /dev/null +++ b/tests/test_serialization.py @@ -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