def test_plainttext_with_two_paragraphs_as_header(self): header = ListHeader('paragraph1') header += Paragraph('paragraph2') self.assertEqual('paragraph1\nparagraph2', header.plaintext(), "wrong header content")
def test_constructor_and_plaintext(self): header = ListHeader('text') self.assertEqual('text', header.plaintext(), "wrong header content")