def test_previewPath(self): with makeTestRepoEnv("empty"): image = makePreview(self.tex_de, preambles=self.preambles) self.assertTrue(os.path.exists(image))
def runPreview(self, *args, **kwargs): image = makePreview(*args, preambles=self.preambles, **kwargs) self.assertTrue(os.path.exists(image)) shutil.rmtree(os.path.dirname(image))