'Older messages may not have rendered_content in the database'

def test_message_without_rendered_content(self):

    m = self.get_last_message()
    m.rendered_content = m.rendered_content_version = None
    m.content = 'test    content'
    d = MessageDict.to_dict_uncached_helper(m, True)
    self.assertEqual(d['content'], '<p>test    content</p>')
