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

Method testLargeDeltas

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

Source from the content-addressed store, hash-verified

233 self.assertTrue(len(rep) > 0)
234
235 def testLargeDeltas(self):
236 # test large field deltas (meaningful in CompactProto only)
237 obj = self._deserialize(LargeDeltas, self._serialize(self.large_deltas))
238 self.assertEqual(obj, self.large_deltas)
239 rep = repr(self.large_deltas)
240 self.assertTrue(len(rep) > 0)
241
242 def testNestedListsI32x2(self):
243 obj = self._deserialize(NestedListsI32x2, self._serialize(self.nested_lists_i32x2))

Callers

nothing calls this directly

Calls 2

_deserializeMethod · 0.95
_serializeMethod · 0.95

Tested by

no test coverage detected