From c563129d5de3bfb83b9824dbf32d3af611372d31 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 1 Jun 2017 22:06:08 +0100 Subject: [PATCH] Actually test the file is output --- tests/test_pdf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_pdf.py b/tests/test_pdf.py index 43199e5..ac2e9c7 100644 --- a/tests/test_pdf.py +++ b/tests/test_pdf.py @@ -21,6 +21,7 @@ class PDFRendererTestCase(BaseTestCase): def test_renders(self): export_pdf(self.content, self.BASE_VALID_CONFIG) + self.assertTrue(os.path.isfile(self.output_file_path)) def test_title(self): context = export_pdf(self.content, self.BASE_VALID_CONFIG)