def test_draw_para_content_without_header_that_does_not_fit(self, mock):
self.img.content.fits = False
self.img.header = None
self.img._draw_para()
current_h = self.img.content.padding
mock.assert_called_once_with(current_h, self.img.para)
评论列表
文章目录