Added table of contents to epub.

This commit is contained in:
Mark Wolfman
2021-07-06 23:48:36 -05:00
parent b1e69182eb
commit 8a054b335f
6 changed files with 156 additions and 10 deletions
+4 -4
View File
@@ -55,10 +55,10 @@ class MakeSheetsTestCase(unittest.TestCase):
class EpubOutputTestCase(unittest.TestCase):
gm_epub = Path(f"{GMFILE.stem}.epub").resolve()
# def tearDown(self):
# for f in [self.gm_epub]:
# if f.exists():
# f.unlink()
def tearDown(self):
for f in [self.gm_epub]:
if f.exists():
f.unlink()
def test_file_created(self):
# Check that a file is created once the function is run