Skip the diff of one of the /idindex/ entries -- the stored diff can't match both, since the diffed URLs are specified at the top of the diff.

- Legacy-Id: 612
This commit is contained in:
Henrik Levkowetz 2007-06-22 09:01:49 +00:00
parent f1f94506f8
commit ec1b40849d
2 changed files with 2 additions and 2 deletions

View file

@ -10,5 +10,5 @@ skip,200 /idindex/9574/view_related_docs/ https://datatracker.ietf.org/public/id
skipredirect,200 /idindex/draft-ietf-dnsext-dnssec-protocol/ https://datatracker.ietf.org/public/idindex.cgi?command=id_detail&id=9574
200 /idindex/all_id_txt.html
200 /idindex/all_id.html
200 /idindex/ https://datatracker.ietf.org/public/idindex.cgi?command=search_id
skipdiff,200 /idindex/ https://datatracker.ietf.org/public/idindex.cgi?command=search_id
200 /idindex/ https://datatracker.ietf.org/public/idindex.cgi

View file

@ -294,7 +294,7 @@ class UrlTestCase(TestCase):
note(" %s %s" % (e.code, e.url))
goodhtml = None
try:
if goodhtml and response.content:
if goodhtml and response.content and not "skipdiff" in codes:
if "sort" in codes:
testtext = reduce_text(response.content, fill=False)
goodtext = reduce_text(goodhtml, fill=False)