From 70f85c60aac43e312d137f639d73cf8186802964 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 16 Jun 2007 13:14:54 +0000 Subject: [PATCH] Don't require test URLs for admin and account apps now. - Legacy-Id: 429 --- ietf/tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ietf/tests.py b/ietf/tests.py index 65ddc8479..eee3caac2 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -149,7 +149,8 @@ class UrlTestCase(TestCase): print "Not all the application URLs has test cases, there are %d missing." % (len(missing)) print "The ones missing are: " for pattern in missing: - print "Miss", pattern + if not pattern[1:].split("/")[0] in [ "admin", "accounts" ]: + print "Miss", pattern else: print "All the application URL patterns seem to have test cases." #print "Not all the application URLs has test cases."