diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-09-08 17:56:58 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-09-08 17:56:58 -0400 |
commit | 269b14140e14f39c3d87bb1163e4dbdef81eaf20 (patch) | |
tree | 94948de70d448940a2f5dd79cb1df609c47d0072 | |
parent | 836b74a582ff4627e62c3f16924cdb8c40ab3a0f (diff) | |
download | python-coveragepy-269b14140e14f39c3d87bb1163e4dbdef81eaf20.tar.gz |
Fix the url canonicalizer to also deal with release urls.
-rw-r--r-- | test/farm/html/run_a_xml_1.py | 2 | ||||
-rw-r--r-- | test/farm/html/run_a_xml_2.py | 2 | ||||
-rw-r--r-- | test/farm/html/run_y_xml_branch.py | 2 |
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 da7b889..e3aaff2 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 da907d4..c9139a1 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 be87c06..b0ce8a8 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") |