MCPcopy Create free account
hub / github.com/apache/thrift / testForwards

Method testForwards

test/py/SerializationTest.py:207–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

205 return ret
206
207 def testForwards(self):
208 obj = self._deserialize(VersioningTestV2, self._serialize(self.v1obj))
209 self.assertEqual(obj.begin_in_both, self.v1obj.begin_in_both)
210 self.assertEqual(obj.end_in_both, self.v1obj.end_in_both)
211
212 def testBackwards(self):
213 obj = self._deserialize(VersioningTestV1, self._serialize(self.v2obj))

Callers

nothing calls this directly

Calls 2

_deserializeMethod · 0.95
_serializeMethod · 0.95

Tested by

no test coverage detected