summaryrefslogtreecommitdiff
path: root/test/farm/html/run_a_xml_2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/farm/html/run_a_xml_2.py')
-rw-r--r--test/farm/html/run_a_xml_2.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/farm/html/run_a_xml_2.py b/test/farm/html/run_a_xml_2.py
deleted file mode 100644
index 53691ead..00000000
--- a/test/farm/html/run_a_xml_2.py
+++ /dev/null
@@ -1,21 +0,0 @@
-def html_it():
- """Run coverage and make an XML report for a."""
- import coverage
- cov = coverage.coverage(config_file="run_a_xml_2.ini")
- cov.start()
- import a # pragma: nested
- cov.stop() # pragma: nested
- cov.xml_report(a)
-
-import os
-if not os.path.exists("xml_2"):
- os.makedirs("xml_2")
-
-runfunc(html_it, rundir="src")
-
-compare("gold_x_xml", "xml_2", scrubs=[
- (r' timestamp="\d+"', ' timestamp="TIMESTAMP"'),
- (r' version="[-.\w]+"', ' version="VERSION"'),
- (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'),
- ])
-clean("xml_2")