MCPcopy Create free account
hub / github.com/apache/qpid-proton / testCopyNested

Method testCopyNested

python/tests/proton_tests/codec.py:475–480  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

473 assert copy == orig, (copy, orig)
474
475 def testCopyNested(self):
476 nested = [1, 2, 3, [4, 5, 6], 7, 8, 9]
477 self.data.put_object(nested)
478 dst = Data()
479 dst.copy(self.data)
480 assert dst.format() == self.data.format()
481
482 def testCopyNestedArray(self):
483 nested = [Array(UNDESCRIBED, Data.LIST,

Callers

nothing calls this directly

Calls 4

copyMethod · 0.95
formatMethod · 0.95
DataClass · 0.90
put_objectMethod · 0.80

Tested by

no test coverage detected