From fbcd9eddf3412a27047728e37c52c00644f6e5e9 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Tue, 5 Jun 2007 10:14:24 +0000 Subject: [PATCH] Added test assertions requiring no non-200 responses and no exceptions for URLs not listed in the testurls.list - Legacy-Id: 231 --- ietf/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ietf/tests.py b/ietf/tests.py index bca15a3c6..e7924a9f0 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -116,3 +116,5 @@ class UrlTestCase(TestCase): print "testUrlsFallback() response count:\n code count" for code in response_count: print " %s: %s " % (code, response_count[code]) + if str(code) != "200": + self.assertEqual(response_count[code], 0) \ No newline at end of file