def METHOD_NAME(self):
    self.login_test1()
    doc1 = self.create_doc().document
    p1 = doc1.add_paragraph("par")
    doc1.modify_paragraph(
        p1.get_id(), "", new_attrs={"rd": doc1.doc_id, "rp": p1.get_id()}
    )
    tree = self.get(f"/view/{doc1.doc_id}", as_tree=True)
    self.assertTrue(tree.cssselect(".parContent > span.error"))