Fixed an error in the tag compiler test

This commit is contained in:
Jamie Hardt
2022-01-11 14:05:21 -08:00
parent c8053f65ae
commit fa2cef35b2
4 changed files with 23 additions and 18 deletions

View File

@@ -8,21 +8,21 @@ import glob
from ptulsconv import commands
# class TestBroadcastTimecode(unittest.TestCase):
# def test_report_generation(self):
# """
# Setp through every text file in export_cases and make sure it can
# be converted into PDF docs without throwing an error
# """
# for path in glob.glob(os.path.dirname(__file__) + "/../export_cases/*.txt"):
# tempdir = tempfile.TemporaryDirectory()
# os.chdir(tempdir.name)
# try:
# commands.convert(path, major_mode='doc')
# except:
# assert False, "Error processing file %s" % path
# finally:
# tempdir.cleanup()
class TestBroadcastTimecode(unittest.TestCase):
def test_report_generation(self):
"""
Setp through every text file in export_cases and make sure it can
be converted into PDF docs without throwing an error
"""
# for path in glob.glob(os.path.dirname(__file__) + "/../export_cases/*.txt"):
# tempdir = tempfile.TemporaryDirectory()
# os.chdir(tempdir.name)
# try:
# commands.convert(path, major_mode='doc')
# except:
# assert False, "Error processing file %s" % path
# finally:
# tempdir.cleanup()