mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 17:00:53 +00:00
Update test_parse.py
This commit is contained in:
@@ -34,7 +34,8 @@ class TestParse(TestCase):
|
|||||||
|
|
||||||
def test_event_sanity(self):
|
def test_event_sanity(self):
|
||||||
for fn in type(self).files:
|
for fn in type(self).files:
|
||||||
with open(f"tests/edls/{fn}" ,'r') as f:
|
path = "tests/edls/" + fn
|
||||||
|
with open(path ,'r') as f:
|
||||||
edl = pycmx.parse_cmx3600(f)
|
edl = pycmx.parse_cmx3600(f)
|
||||||
for index, event in enumerate(edl.events):
|
for index, event in enumerate(edl.events):
|
||||||
self.assertTrue( len(event.edits) > 0 )
|
self.assertTrue( len(event.edits) > 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user