Ejemplo n.º 1
0
 def test_getMaxHeight(self):
     pmlmaxheightmixin = xhtml2pdf_reportlab.PmlMaxHeightMixIn()
     self.assertEqual(0, pmlmaxheightmixin.getMaxHeight())
     pmlmaxheightmixin.availHeightValue = 42
     self.assertEqual(42, pmlmaxheightmixin.getMaxHeight())
Ejemplo n.º 2
0
 def test_setMaxHeight_height_gte_70000(self):
     pmlmaxheightmixin = xhtml2pdf_reportlab.PmlMaxHeightMixIn()
     pmlmaxheightmixin.setMaxHeight(70000)