def test_render(self):
    text = '<p>To the <a linktype="page" id="{}">moon</a>!</p>'.format(self.single_event_page.id)
    value = RichText(text)
    result = str(value)
    expected = '<div class="rich-text"><p>To the <a href="/foo/pointless-suffix/">moon</a>!</p></div>'
    self.assertEqual(result, expected)
def test_render(self):
    text = '<p>To the <a linktype="page" id="{}">moon</a>!</p>'.format(self.single_event_page.id)
    value = RichText(text)
    result = str(value)
    expected = '<div class="rich-text"><p>To the <a href="/foo/pointless-suffix/">moon</a>!</p></div>'
    self.assertEqual(result, expected)