summaryrefslogtreecommitdiff
path: root/test/farm/html/run_x_xml.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-09-26 09:46:04 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-09-26 09:46:04 -0400
commit48075edf4de2020b23ef6f32fc8f523b48abb93b (patch)
tree76d44e096e44f12873349f64d3330f3c6af0a205 /test/farm/html/run_x_xml.py
parent19e525685ab858089c05580f90b79da7ff91ccd8 (diff)
downloadpython-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.py5
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")