Ejemplo n.º 1
0
 def test_plainttext_with_two_paragraphs_as_header(self):
     item = ListItem('paragraph1')
     item += Paragraph('paragraph2')
     self.assertEqual('paragraph1\nparagraph2', item.plaintext(),
                      "wrong item content")
Ejemplo n.º 2
0
 def test_plainttext_with_two_paragraphs_as_header(self):
     item = ListItem('paragraph1')
     item += Paragraph('paragraph2')
     self.assertEqual('paragraph1\nparagraph2', item.plaintext(), "wrong item content")
Ejemplo n.º 3
0
 def test_constructor(self):
     item = ListItem('text')
     self.assertEqual('text', item.plaintext(), "wrong item content")
Ejemplo n.º 4
0
 def test_constructor(self):
     item = ListItem('text')
     self.assertEqual('text', item.plaintext(), "wrong item content")