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

Method test_session_set

python/tests/proton_tests/reactor.py:146–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 pass
145
146 def test_session_set(self):
147 c = self.container.connection()
148 s = c.session()
149 s.handler = BarfOnInit()
150 try:
151 self.container.run()
152 assert False, "expected to barf"
153 except Barf:
154 pass
155
156 def test_session_add(self):
157 c = self.container.connection()

Callers

nothing calls this directly

Calls 4

BarfOnInitClass · 0.85
connectionMethod · 0.45
sessionMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected