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