File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ def test_limits(self):
101101 self .assertEqual (otio .schema .V2d .baseTypeEpsilon (), sys .float_info .epsilon )
102102
103103 def test_json_serialization (self ):
104- serialized = otio .adapters .otio_json .write_to_string (otio .schema .V2d ())
104+ serialized = otio .adapters .otio_json .write_to_string (otio .schema .V2d (0.1 , 0.2 ))
105105 json_v2d = json .loads (serialized )
106106 self .assertEqual (json_v2d ["OTIO_SCHEMA" ], "V2d.1" )
107107
108108 def test_serialization_round_trip (self ):
109- v2d = otio .schema .V2d ()
109+ v2d = otio .schema .V2d (0.3 , 0.4 )
110110 serialized = otio .adapters .otio_json .write_to_string (v2d )
111111 deserialized = otio .adapters .otio_json .read_from_string (serialized )
112112 self .assertEqual (v2d , deserialized )
You can’t perform that action at this time.
0 commit comments