summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-09-08 17:56:58 -0400
committerNed Batchelder <ned@nedbatchelder.com>2010-09-08 17:56:58 -0400
commit5f894db401955ee46d50af74583ec4af586dbacf (patch)
treeb05442b94af44f168a77c22e9480df8a84155b2b
parent398531ed3b176b2f620ec9174cc4d2f7a5d9bc7f (diff)
downloadpython-coveragepy-git-5f894db401955ee46d50af74583ec4af586dbacf.tar.gz
Fix the url canonicalizer to also deal with release urls.
-rw-r--r--test/farm/html/run_a_xml_1.py2
-rw-r--r--test/farm/html/run_a_xml_2.py2
-rw-r--r--test/farm/html/run_y_xml_branch.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/farm/html/run_a_xml_1.py b/test/farm/html/run_a_xml_1.py
index da7b8894..e3aaff2f 100644
--- a/test/farm/html/run_a_xml_1.py
+++ b/test/farm/html/run_a_xml_1.py
@@ -16,6 +16,6 @@ runfunc(html_it, rundir="src")
compare("gold_x_xml", "xml_1", scrubs=[
(r' timestamp="\d+"', ' timestamp="TIMESTAMP"'),
(r' version="[-.\w]+"', ' version="VERSION"'),
- (r'/code/coverage/[-.\w]+', '/code/coverage/VER'),
+ (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'),
])
clean("xml_1")
diff --git a/test/farm/html/run_a_xml_2.py b/test/farm/html/run_a_xml_2.py
index da907d41..c9139a19 100644
--- a/test/farm/html/run_a_xml_2.py
+++ b/test/farm/html/run_a_xml_2.py
@@ -16,6 +16,6 @@ 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'),
+ (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'),
])
clean("xml_2")
diff --git a/test/farm/html/run_y_xml_branch.py b/test/farm/html/run_y_xml_branch.py
index be87c060..b0ce8a81 100644
--- a/test/farm/html/run_y_xml_branch.py
+++ b/test/farm/html/run_y_xml_branch.py
@@ -16,6 +16,6 @@ runfunc(xml_it, rundir="src")
compare("gold_y_xml_branch", "xml_branch", scrubs=[
(r' timestamp="\d+"', ' timestamp="TIMESTAMP"'),
(r' version="[-.\w]+"', ' version="VERSION"'),
- (r'/code/coverage/[-.\w]+', '/code/coverage/VER'),
+ (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'),
])
clean("xml_branch")