datatracker/ietf/meeting/tests.py
2010-07-21 12:48:05 +00:00

12 lines
344 B
Python

from ietf.utils.test_utils import SimpleUrlTestCase, canonicalize_feed
class MeetingUrlTestCase(SimpleUrlTestCase):
def testUrls(self):
self.doTestUrls(__file__)
def doCanonicalize(self, url, content):
if url.startswith("/feed/"):
return canonicalize_feed(content)
else:
return content