diff --git a/tests/test_v2d.py b/tests/test_v2d.py index a8b3ef1bd..8c5680efd 100644 --- a/tests/test_v2d.py +++ b/tests/test_v2d.py @@ -101,12 +101,12 @@ def test_limits(self): self.assertEqual(otio.schema.V2d.baseTypeEpsilon(), sys.float_info.epsilon) def test_json_serialization(self): - serialized = otio.adapters.otio_json.write_to_string(otio.schema.V2d()) + serialized = otio.adapters.otio_json.write_to_string(otio.schema.V2d(0.1, 0.2)) json_v2d = json.loads(serialized) self.assertEqual(json_v2d["OTIO_SCHEMA"], "V2d.1") def test_serialization_round_trip(self): - v2d = otio.schema.V2d() + v2d = otio.schema.V2d(0.3, 0.4) serialized = otio.adapters.otio_json.write_to_string(v2d) deserialized = otio.adapters.otio_json.read_from_string(serialized) self.assertEqual(v2d, deserialized)