From ec1b40849dad0a5cce734d652c024e73270782d9 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Fri, 22 Jun 2007 09:01:49 +0000 Subject: [PATCH] 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 --- ietf/idindex/testurl.list | 2 +- ietf/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/idindex/testurl.list b/ietf/idindex/testurl.list index 9059d1ec4..f8f41da51 100644 --- a/ietf/idindex/testurl.list +++ b/ietf/idindex/testurl.list @@ -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 diff --git a/ietf/tests.py b/ietf/tests.py index f8d26b5a1..cb23c93e1 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -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)