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

Method test_connection_add

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

Source from the content-addressed store, hash-verified

134 pass
135
136 def test_connection_add(self):
137 c = self.container.connection()
138 c.handler = object()
139 c.handler.add(BarfOnInit())
140 try:
141 self.container.run()
142 assert False, "expected to barf"
143 except Barf:
144 pass
145
146 def test_session_set(self):
147 c = self.container.connection()

Callers

nothing calls this directly

Calls 5

objectClass · 0.85
BarfOnInitClass · 0.85
connectionMethod · 0.45
addMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected