Modified channel parsing, another test case here

This commit is contained in:
Jamie Hardt
2018-12-01 12:20:19 -08:00
parent d976f22b92
commit 7119be58ac
3 changed files with 60 additions and 4 deletions

Binary file not shown.

View File

@@ -7,14 +7,15 @@ class TestParse(TestCase):
def test_edls(self):
files = ["INS4_R1_010417.edl" ,
"STP R1 v082517.edl",
"ToD_R4_LOCK3.1_030618_Video.edl"
"ToD_R4_LOCK3.1_030618_Video.edl",
"TEST.edl"
]
counts = [ 287, 250 , 376 ]
counts = [ 287, 250 , 376, 148 ]
for fn, count in zip(files, counts):
events = pycmx.parse_cmx3600("tests/edls/" + fn )
self.assertTrue( len(events) == count )
events = pycmx.parse_cmx3600(f"tests/edls/{fn}" )
self.assertTrue( len(events) == count , f"expected {len(events)} but found {count}")