def test_only_heading(): para_text = "Section 1: Introduction to the Contract." text = "Section 1" > assert only_heading(text, para_text) == True E AssertionError: assert False == True E + where False = only_heading('Section 1', 'Section 1: Introduction to the Contract.') test_redline_docx.py:131: AssertionError