示例#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")
示例#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")
示例#3
0
 def test_constructor(self):
     item = ListItem('text')
     self.assertEqual('text', item.plaintext(), "wrong item content")
示例#4
0
 def test_constructor(self):
     item = ListItem('text')
     self.assertEqual('text', item.plaintext(), "wrong item content")