diff --git a/Tests/images/lena.spider b/Tests/images/lena.spider new file mode 100644 index 000000000..df963c1c3 Binary files /dev/null and b/Tests/images/lena.spider differ diff --git a/Tests/test_file_spider.py b/Tests/test_file_spider.py new file mode 100644 index 000000000..9c15de804 --- /dev/null +++ b/Tests/test_file_spider.py @@ -0,0 +1,15 @@ +from tester import * + +from PIL import Image + +test_file = "Tests/images/lena.spider" + + +def test_sanity(): + im = Image.open(test_file) + im.load() + assert_equal(im.mode, "F") + assert_equal(im.size, (128, 128)) + assert_equal(im.format, "SPIDER") + +# End of file