diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-26 09:46:04 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-09-26 09:46:04 -0400 |
commit | 48075edf4de2020b23ef6f32fc8f523b48abb93b (patch) | |
tree | 76d44e096e44f12873349f64d3330f3c6af0a205 /test/farm/html/run_x_xml.py | |
parent | 19e525685ab858089c05580f90b79da7ff91ccd8 (diff) | |
download | python-coveragepy-git-48075edf4de2020b23ef6f32fc8f523b48abb93b.tar.gz |
XML report: now validates against the Cobertura dtd.
Diffstat (limited to 'test/farm/html/run_x_xml.py')
-rw-r--r-- | test/farm/html/run_x_xml.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/farm/html/run_x_xml.py b/test/farm/html/run_x_xml.py index b3682940..fe9cefa7 100644 --- a/test/farm/html/run_x_xml.py +++ b/test/farm/html/run_x_xml.py @@ -13,5 +13,8 @@ if not os.path.exists("xml"): runfunc(html_it, rundir="src") -compare("gold_x_xml", "xml") +compare("gold_x_xml", "xml", scrubs=[ + (r' timestamp="\d+"', ' timestamp="TIMESTAMP"'), + (r' version="[-.\w]+"', ' version="VERSION"'), + ]) clean("xml") |