コード例 #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
ファイル: test_lists.py プロジェクト: MicahStevens/ezodf
 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
ファイル: test_lists.py プロジェクト: MicahStevens/ezodf
 def test_constructor(self):
     item = ListItem('text')
     self.assertEqual('text', item.plaintext(), "wrong item content")