Esempio n. 1
0
 def test_can_create_spacers(self):
     self.assertIsInstance(element('spacer[0|5]'), platypus.Spacer)
Esempio n. 2
0
 def test_can_create_paragraphs(self):
     self.assertIsInstance(element('paragraph[Paragraph text]'), flowables.Paragraph)
Esempio n. 3
0
 def test_can_create_images(self):
     self.assertIsInstance(element('image[%s|%s]' % (self.logo, 20)), platypus.Image)
Esempio n. 4
0
 def test_can_create_frame_breaks(self):
     self.assertIsInstance(element('framebreak'), platypus.doctemplate._FrameBreak)
Esempio n. 5
0
 def test_can_create_simple_line_flowables(self):
     self.assertIsInstance(element('simpleline[185|0.1]',), flowables.SimpleLine)
Esempio n. 6
0
 def test_can_create_spacers(self):
     self.assertIsInstance(element('spacer[0|5]'), platypus.Spacer)
Esempio n. 7
0
 def test_can_create_images(self):
     self.assertIsInstance(element('image[%s|%s]' % (self.logo, 20)),
                           platypus.Image)
Esempio n. 8
0
 def test_can_create_paragraphs(self):
     self.assertIsInstance(element('paragraph[Paragraph text]'),
                           flowables.Paragraph)
Esempio n. 9
0
 def test_can_create_simple_line_flowables(self):
     self.assertIsInstance(element('simpleline[185|0.1]', ),
                           flowables.SimpleLine)
Esempio n. 10
0
 def test_can_create_frame_breaks(self):
     self.assertIsInstance(element('framebreak'),
                           platypus.doctemplate._FrameBreak)