'Creating an approved revision updates document.html'

def test_approved_revision_updates_html(self):

    d = ApprovedRevisionFactory(content='Replace    document    html').document
    assert ('Replace    document    html' in d.html), ('"Replace    document    html"    not    in    %s' % d.html)
    ApprovedRevisionFactory(document=d, content='Replace    html    again')
    assert ('Replace    html    again' in d.html), ('"Replace    html    again"    not    in    %s' % d.html)
