Pillow/Tests
2013-10-24 03:08:24 -07:00
..
fonts
icc
images
bench_get.py
cms_test.py
crash_ttf_memory_error.py
import_all.py
make_hash.py
README.txt
run.py
show_icc.py
show_mcidas.py
test_001_archive.py
test_000_sanity.py
test_file_bmp.py
test_file_fli.py
test_file_gif.py
test_file_ico.py
test_file_jpeg.py
test_file_libtiff_small.py
test_file_libtiff.py
test_file_msp.py
test_file_pcx.py
test_file_png.py
test_file_ppm.py
test_file_psd.py
test_file_tar.py
test_file_tiff.py
test_file_webp_metadata.py
test_file_webp.py
test_file_xbm.py
test_file_xpm.py
test_font_bdf.py
test_font_pcf.py
test_format_lab.py
test_image_array.py
test_image_convert.py
test_image_copy.py
test_image_crop.py
test_image_draft.py
test_image_filter.py
test_image_frombytes.py
test_image_getbands.py
test_image_getbbox.py
test_image_getcolors.py
test_image_getdata.py
test_image_getextrema.py
test_image_getim.py
test_image_getpalette.py
test_image_getpixel.py
test_image_getprojection.py
test_image_histogram.py
test_image_load.py
test_image_mode.py
test_image_offset.py
test_image_paste.py
test_image_point.py
test_image_putalpha.py
test_image_putdata.py
test_image_putpalette.py
test_image_putpixel.py
test_image_quantize.py
test_image_resize.py
test_image_rotate.py
test_image_save.py
test_image_seek.py
test_image_show.py
test_image_split.py
test_image_tell.py
test_image_thumbnail.py
test_image_tobitmap.py
test_image_tobytes.py
test_image_transform.py
test_image_transpose.py
test_image_verify.py
test_image.py
test_imagechops.py
test_imagecms.py
test_imagecolor.py
test_imagedraw.py
test_imageenhance.py
test_imagefile.py
test_imagefileio.py
test_imagefilter.py
test_imagefont.py
test_imagegrab.py
test_imagemath.py
test_imagemode.py
test_imageops_usm.py
test_imageops.py
test_imagepalette.py
test_imagepath.py
test_imageqt.py
test_imagesequence.py
test_imageshow.py
test_imagestat.py
test_imagetk.py
test_imagetransform.py
test_imagewin.py
test_lib_image.py
test_lib_pack.py
test_locale.py
test_mode_i16.py
test_numpy.py
tester.py
threaded_save.py
versions.py

Minimalistic PIL test framework.

Test scripts are named "test_xxx" and are supposed to output "ok". That's it. To run the tests::

    python setup.py develop

Run the tests from the root of the Pillow source distribution:

    python selftest.py
    python Tests/run.py --installed

To run an individual test:

    python Tests/test_image.py