File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -418,12 +418,16 @@ def test_faulty_formatted_timecode_24(self):
418
418
with self .assertRaises (ValueError ):
419
419
otio .opentime .from_timecode ('01:00:13;23' , 24 )
420
420
421
+ def test_faulty_time_string (self ):
422
+ with self .assertRaises (ValueError ):
423
+ otio .opentime .from_time_string ("bogus" , 24 )
424
+
421
425
def test_invalid_rate_to_timecode_functions (self ):
422
426
# Use a bogus rate, expecting `to_timecode` to complain
423
- t = otio .opentime .RationalTime (100 , 29.7 )
427
+ t = otio .opentime .RationalTime (100 , 999 )
424
428
425
429
with self .assertRaises (ValueError ):
426
- otio .opentime .to_timecode (t , 29.7 )
430
+ otio .opentime .to_timecode (t , 777 )
427
431
428
432
with self .assertRaises (ValueError ):
429
433
otio .opentime .to_timecode (t )
You can’t perform that action at this time.
0 commit comments