Exemplo n.º 1
0
    def test_cleanup(self):

        printer = PDFPrinter('tests')
        printer.render(self.get_tex_source('tests/sample.tex'))
        printer.cleanup()

        if os.path.isdir(printer.out_dir):
            pytest.fail("Can't remove temporary files.")