def test_large_image(self):
        pdf = SimplePdf(self._testMethodName + ".pdf")

        pdf.add_text(self.short_text)
        pdf.add_image(self.large_image_filename)
        pdf.add_text(self.short_text)
        pdf.save()
    def test_text_with_image(self):
        pdf = SimplePdf(self._testMethodName + ".pdf")

        pdf.add_header(self.short_header)
        pdf.add_header(self.short_header)
        pdf.add_header(self.short_header)
        pdf.add_text(self.text)
        pdf.add_image(self.small_image_filename)
        pdf.add_text("End line")
        pdf.save()
    def test_image(self):
        pdf = SimplePdf(self._testMethodName + ".pdf")

        pdf.add_text("First")
        pdf.add_image(self.small_image_filename)
        pdf.save()