mirror of
https://github.com/iluvcapra/pycmx.git
synced 2025-12-31 08:50:54 +00:00
Leaving this for now
This commit is contained in:
19
tests/test_issue_19.py
Normal file
19
tests/test_issue_19.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from unittest import TestCase
|
||||
|
||||
from pycmx import parse_cmx3600
|
||||
|
||||
class Issue19Test(TestCase):
|
||||
def setUp(self):
|
||||
self.f = open("tests/edls/ISSUE_19_unusual01.edl")
|
||||
|
||||
|
||||
def test_parse(self):
|
||||
edl = parse_cmx3600(self.f)
|
||||
for event in edl.events:
|
||||
self.assertIsNotNone(event.edits)
|
||||
if event.number == 1:
|
||||
self.assertEqual(len(event.edits), 1)
|
||||
|
||||
|
||||
def tearDown(self):
|
||||
self.f.close()
|
||||
Reference in New Issue
Block a user