Skip to content

Commit

Permalink
Updated test that missed clip repr update
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Reinecke <[email protected]>
  • Loading branch information
reinecke committed Jan 13, 2025
1 parent aca71fb commit 580f443
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions tests/test_clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,18 @@ def test_str(self):

self.assertMultiLineEqual(
str(cl),
'Clip("test_clip", MissingReference(\'\', None, None, {}), None, {})'
'Clip("test_clip", '
'MissingReference(\'\', None, None, {}), None, {}, [], [])'
)
self.assertMultiLineEqual(
repr(cl),
'otio.schema.Clip('
"name='test_clip', "
'media_reference={}, '
'source_range=None, '
'metadata={{}}'
'metadata={{}}, '
'effects=[], '
'markers=[]'
')'.format(
repr(cl.media_reference)
)
Expand All @@ -87,7 +90,8 @@ def test_str_with_filepath(self):
self.assertMultiLineEqual(
str(cl),
'Clip('
'"test_clip", ExternalReference("/var/tmp/foo.mov"), None, {}'
'"test_clip", '
'ExternalReference("/var/tmp/foo.mov"), None, {}, [], []'
')'
)
self.assertMultiLineEqual(
Expand All @@ -98,7 +102,9 @@ def test_str_with_filepath(self):
"target_url='/var/tmp/foo.mov'"
"), "
'source_range=None, '
'metadata={}'
'metadata={}, '
'effects=[], '
'markers=[]'
')'
)

Expand Down

0 comments on commit 580f443

Please sign in to comment.