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

Method testBackwards

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

Source from the content-addressed store, hash-verified

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))
214 self.assertEqual(obj.begin_in_both, self.v2obj.begin_in_both)
215 self.assertEqual(obj.end_in_both, self.v2obj.end_in_both)
216
217 def testSerializeV1(self):
218 obj = self._deserialize(VersioningTestV1, self._serialize(self.v1obj))

Callers

nothing calls this directly

Calls 2

_deserializeMethod · 0.95
_serializeMethod · 0.95

Tested by

no test coverage detected