eoxserver.testing package

Submodules

eoxserver.testing.xcomp module

Simple XML documets’ comparator.

exception eoxserver.testing.xcomp.XMLError

Bases: Exception

XML base error error

exception eoxserver.testing.xcomp.XMLMismatchError

Bases: XMLError

XML mismatch error

exception eoxserver.testing.xcomp.XMLParseError

Bases: XMLError

XML parse error

eoxserver.testing.xcomp.xmlCompareDOMs(xml0, xml1, verbose=False)

Compare two XML documents passed as DOM trees (xml.dom.minidom).

eoxserver.testing.xcomp.xmlCompareFiles(src0, src1, verbose=False)

Compare two XML documents passed as filenames, file or file-like objects.

eoxserver.testing.xcomp.xmlCompareStrings(str0, str1, verbose=False)

Compare two XML documents passed as strings.

Module contents