Pillow/Tests
2014-07-19 00:28:02 +03:00
..
fonts Removing buffer from imagefont 2013-04-25 18:48:43 +02:00
icc py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
images Created with ImageMagick: convert lena.ppm lena.dcx 2014-07-17 01:19:52 +03:00
32bit_segfault_check.py Guard to prevent 64 bit machines from crashing 2014-07-07 11:22:11 -07:00
bench_cffi_access.py Convert bench_cffi_access.py to use unittest and helper.py 2014-06-25 12:19:27 +03:00
bench_get.py Remove last dependencies on tester.py and remove file 2014-06-25 12:46:52 +03:00
crash_ttf_memory_error.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
helper.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
import_all.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
large_memory_numpy_test.py Don't import unittest because it's done in helper 2014-06-30 23:20:12 -07:00
large_memory_test.py Don't import unittest because it's done in helper 2014-06-30 23:20:39 -07:00
make_hash.py flake8 Tests/make_hash.py 2014-06-25 12:25:51 +03:00
README.rst Fix error(s) 2014-06-27 08:45:39 -04:00
show_icc.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
show_mcidas.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00
test_000_sanity.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_bmp_reference.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_cffi.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_decompression_bomb.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_bmp.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_cur.py Check some pixel colors to ensure image is loaded properly 2014-07-17 10:42:43 +03:00
test_file_dcx.py Tests for DcxImagePlugin.dcx 2014-07-17 01:20:19 +03:00
test_file_eps.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_fli.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_gif.py Merge pull request #765 from larsjsol/master 2014-07-07 23:04:38 +03:00
test_file_icns.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_ico.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_jpeg.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_jpeg2k.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_libtiff_small.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_libtiff.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_msp.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_palm.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_pcx.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_pdf.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_png.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_ppm.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_psd.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_spider.py More tests for SpiderImagePlugin.py 2014-07-15 12:23:02 +03:00
test_file_sun.py Sanity test for SunImagePlugin.py 2014-07-16 14:24:23 +03:00
test_file_tar.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_tiff_metadata.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_tiff.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_webp_alpha.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_webp_lossless.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_webp_metadata.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_webp.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_xbm.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_file_xpm.py Fix scrambled XPM image, don't mmap when load_read/load_seek is defined. Fixes #806 2014-07-18 10:40:08 -07:00
test_font_bdf.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_font_pcf.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_format_lab.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_array.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_convert.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_copy.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_crop.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_draft.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_filter.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_frombytes.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getbands.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getbbox.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getcolors.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getdata.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getextrema.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getim.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getpalette.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getpixel.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_getprojection.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_histogram.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_load.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_mode.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_offset.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_point.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_putalpha.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_putdata.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_putpalette.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_putpixel.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_quantize.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_resize.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_rotate.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_split.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_thumbnail.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_tobitmap.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_tobytes.py Convert old tests to use unittest 2014-06-10 12:10:47 +03:00
test_image_transform.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image_transpose.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_image.py Fix import 2014-07-15 00:48:01 +03:00
test_imagechops.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagecms.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagecolor.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagedraw.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imageenhance.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagefile.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagefileio.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagefilter.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagefont.py ucase(font_path,font_size) 2014-07-08 10:37:27 -07:00
test_imagegrab.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagemath.py Merge pull request #773 from hugovk/ImageMath 2014-07-10 10:14:20 -07:00
test_imagemode.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagemorph.py Make test runnable on its own 2014-06-24 10:01:43 +03:00
test_imageops_usm.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imageops.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagepalette.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagepath.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imageqt.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagesequence.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imageshow.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagestat.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagetk.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagetransform.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_imagewin.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_lib_image.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_lib_pack.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_locale.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_mode_i16.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_numpy.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_olefileio.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_pickle.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_pyroma.py Import helper so unittest2 is imported for Py2.6 (re: #743) 2014-07-01 02:05:55 +03:00
test_shell_injection.py Remove unused tearDownModule 2014-07-07 20:03:50 +03:00
test_util.py Remove unused tearDownModule 2014-07-08 07:59:17 +03:00
threaded_save.py Update paths to Tests/images/ instead of Images/ 2014-06-23 09:19:29 +03:00
versions.py py3k: Import Christoph Gohlke's test suite 2013-01-10 08:46:39 -06:00

Pillow Tests
============

Test scripts are named ``test_xxx.py`` and use the ``unittest`` module. A base class and helper functions can be found in ``helper.py``.

Execution
---------

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

    python selftest.py
    nosetests Tests/test_*.py

Or with coverage::

    coverage run --append --include=PIL/* selftest.py
    coverage run --append --include=PIL/* -m nose Tests/test_*.py
    coverage report
    coverage html
    open htmlcov/index.html

To run an individual test::

    python Tests/test_image.py