@@ -171,7 +171,6 @@ def test_basic(self):
171
171
'otioconvert' ,
172
172
'-i' , SCREENING_EXAMPLE_PATH ,
173
173
'-o' , temp_file ,
174
- '-O' , 'otio_json' ,
175
174
'--tracks' , '0'
176
175
]
177
176
self .run_test ()
@@ -189,7 +188,6 @@ def test_begin_end(self):
189
188
'otioconvert' ,
190
189
'-i' , SCREENING_EXAMPLE_PATH ,
191
190
'-o' , temp_file ,
192
- '-O' , 'otio_json' ,
193
191
"--begin" , "foobar"
194
192
]
195
193
with self .assertRaises (SystemExit ):
@@ -200,7 +198,6 @@ def test_begin_end(self):
200
198
'otioconvert' ,
201
199
'-i' , SCREENING_EXAMPLE_PATH ,
202
200
'-o' , temp_file ,
203
- '-O' , 'otio_json' ,
204
201
"--end" , "foobar"
205
202
]
206
203
with self .assertRaises (SystemExit ):
@@ -211,7 +208,6 @@ def test_begin_end(self):
211
208
'otioconvert' ,
212
209
'-i' , SCREENING_EXAMPLE_PATH ,
213
210
'-o' , temp_file ,
214
- '-O' , 'otio_json' ,
215
211
"--begin" , "0,24" ,
216
212
"--end" , "0,24" ,
217
213
]
@@ -222,7 +218,6 @@ def test_begin_end(self):
222
218
'otioconvert' ,
223
219
'-i' , SCREENING_EXAMPLE_PATH ,
224
220
'-o' , temp_file ,
225
- '-O' , 'otio_json' ,
226
221
"--begin" , "0" ,
227
222
"--end" , "0,24" ,
228
223
]
@@ -233,14 +228,13 @@ def test_begin_end(self):
233
228
'otioconvert' ,
234
229
'-i' , SCREENING_EXAMPLE_PATH ,
235
230
'-o' , temp_file ,
236
- '-O' , 'otio_json' ,
237
231
"--begin" , "0,24" ,
238
232
"--end" , "0" ,
239
233
]
240
234
with self .assertRaises (SystemExit ):
241
235
self .run_test ()
242
236
243
- result = otio .adapters .read_from_file (temp_file , "otio_json" )
237
+ result = otio .adapters .read_from_file (temp_file )
244
238
self .assertEqual (len (result .tracks [0 ]), 0 )
245
239
self .assertEqual (result .name , "Example_Screening.01" )
246
240
@@ -269,7 +263,6 @@ def test_output_argument_error(self):
269
263
'otioconvert' ,
270
264
'-i' , SCREENING_EXAMPLE_PATH ,
271
265
'-o' , temp_file ,
272
- '-O' , 'otio_json' ,
273
266
"-A" , "foobar" ,
274
267
]
275
268
@@ -287,7 +280,6 @@ def test_media_linker_argument_error(self):
287
280
'otioconvert' ,
288
281
'-i' , SCREENING_EXAMPLE_PATH ,
289
282
'-o' , temp_file ,
290
- '-O' , 'otio_json' ,
291
283
"-m" , "fake_linker" ,
292
284
"-M" , "somestring=foobar" ,
293
285
"-M" , "foobar" ,
@@ -645,7 +637,7 @@ def test_remove_transition(self):
645
637
self .assertNotIn ('"OTIO_SCHEMA": "Transition.' , out )
646
638
647
639
# make sure the timeline has the same clips in it
648
- in_timeline = otio .adapters .read_from_file (TRANSITION_PATH , "otio_json" )
640
+ in_timeline = otio .adapters .read_from_file (TRANSITION_PATH )
649
641
out_timeline = otio .adapters .read_from_string (out , "otio_json" )
650
642
self .assertEqual (len (in_timeline .find_clips ()), len (out_timeline .find_clips ()))
651
643
@@ -660,7 +652,7 @@ def test_remove_effects(self):
660
652
self .assertNotIn ('"OTIO_SCHEMA": "Effect.' , out )
661
653
662
654
# make sure the timeline has the same clips in it
663
- in_timeline = otio .adapters .read_from_file (EFFECTS_PATH , "otio_json" )
655
+ in_timeline = otio .adapters .read_from_file (EFFECTS_PATH )
664
656
out_timeline = otio .adapters .read_from_string (out , "otio_json" )
665
657
self .assertEqual (len (in_timeline .find_clips ()), len (out_timeline .find_clips ()))
666
658
0 commit comments