12 lines
344 B
Python
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
|