|
6 | 6 | from StringIO import StringIO |
7 | 7 | from pyquery import PyQuery |
8 | 8 |
|
9 | | -from ietf.utils.test_utils import SimpleUrlTestCase, canonicalize_feed, canonicalize_sitemap, login_testing_unauthorized |
| 9 | +from ietf.utils.test_utils import TestCase, login_testing_unauthorized |
10 | 10 | from ietf.utils.test_data import make_test_data |
11 | 11 | from ietf.utils.mail import outbox |
12 | | -from ietf.utils import TestCase |
13 | 12 |
|
14 | 13 | from ietf.liaisons.models import LiaisonStatement, LiaisonStatementPurposeName |
15 | 14 | from ietf.person.models import Person, Email |
16 | 15 | from ietf.group.models import Group, Role |
17 | 16 | from ietf.liaisons.mails import send_sdo_reminder, possibly_send_deadline_reminder |
18 | 17 |
|
19 | | -class LiaisonsUrlTestCase(SimpleUrlTestCase): |
20 | | - def testUrls(self): |
21 | | - self.doTestUrls(__file__) |
22 | | - def doCanonicalize(self, url, content): |
23 | | - if url.startswith("/feed/"): |
24 | | - return canonicalize_feed(content) |
25 | | - elif url == "/sitemap-liaison.xml": |
26 | | - return canonicalize_sitemap(content) |
27 | | - else: |
28 | | - return content |
29 | | - |
30 | 18 | def make_liaison_models(): |
31 | 19 | sdo = Group.objects.create( |
32 | 20 | name="United League of Marsmen", |
|
0 commit comments