def test_can_create_spacers(self): self.assertIsInstance(element('spacer[0|5]'), platypus.Spacer)
def test_can_create_paragraphs(self): self.assertIsInstance(element('paragraph[Paragraph text]'), flowables.Paragraph)
def test_can_create_images(self): self.assertIsInstance(element('image[%s|%s]' % (self.logo, 20)), platypus.Image)
def test_can_create_frame_breaks(self): self.assertIsInstance(element('framebreak'), platypus.doctemplate._FrameBreak)
def test_can_create_simple_line_flowables(self): self.assertIsInstance(element('simpleline[185|0.1]',), flowables.SimpleLine)
def test_can_create_simple_line_flowables(self): self.assertIsInstance(element('simpleline[185|0.1]', ), flowables.SimpleLine)