def METHOD_NAME(self):
    d1, _, _ = doc_rev_parser(
        "one ", title=TEMPLATE_TITLE_PREFIX + "D1", category=TEMPLATES_CATEGORY
    )
    d2, _, _ = doc_rev_parser(
        "[[T:D1]] two", title=TEMPLATE_TITLE_PREFIX + "D2", category=TEMPLATES_CATEGORY
    )
    d3, _, _ = doc_rev_parser("[[T:D1]] [[T:D2]] three", title="D3")
    self.assertEqual(self._clean(d3), "one one two three")
    RevisionFactory(document=d1, content="ONE", is_approved=True)
    render_document_cascade(d1.id)
    self.assertEqual(self._clean(d1), "ONE")
    self.assertEqual(self._clean(d2), "ONE two")
    self.assertEqual(self._clean(d3), "ONE ONE two three")