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

Method test_described

python/tests/proton_tests/interop.py:118–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 assert self.data.next() is None
117
118 def test_described(self):
119 self.decode_data_file("described")
120 self.assert_next(Data.DESCRIBED, Described("foo-descriptor", "foo-value"))
121 self.data.exit()
122
123 assert self.data.next() == Data.DESCRIBED
124 self.data.enter()
125 self.assert_next(Data.INT, 12)
126 self.assert_next(Data.INT, 13)
127 self.data.exit()
128
129 assert self.data.next() is None
130
131 def test_described_array(self):
132 self.decode_data_file("described_array")

Callers

nothing calls this directly

Calls 6

decode_data_fileMethod · 0.95
assert_nextMethod · 0.95
DescribedClass · 0.90
exitMethod · 0.80
enterMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected