obspy.core.util.testing

Testing utilities for ObsPy.

copyright:The ObsPy Development Team (devs@obspy.org)
license:GNU Lesser General Public License, Version 3 (http://www.gnu.org/copyleft/lesser.html)

Functions

add_doctests Function to add all available doctests of the module with given name (e.g.
add_unittests Function to add all available unittests of the module with given name (e.g.
check_flake8
compare_images Custom version of matplotlib.testing.compare.compare_images().
compare_xml_strings Simple helper function to compare two XML strings.
remove_unique_IDs Removes unique ID parts of e.g. ‘publicID=”...”’ attributes from xml
write_png Custom write_png() function.

Classes

ImageComparison Handles the comparison against a baseline image in an image test.

Exceptions

ImageComparisonException