(self)
| 2513 | self.expect(Event.CONNECTION_FINAL) |
| 2514 | |
| 2515 | def testLinkINIT_FINAL(self): |
| 2516 | c = Connection() |
| 2517 | c.collect(self.collector) |
| 2518 | self.expect(Event.CONNECTION_INIT) |
| 2519 | s = c.session() |
| 2520 | self.expect(Event.SESSION_INIT) |
| 2521 | r = s.receiver("asdf") |
| 2522 | self.expect(Event.LINK_INIT) |
| 2523 | r.free() |
| 2524 | self.expect(Event.LINK_FINAL) |
| 2525 | c.free() |
| 2526 | self.expect(Event.SESSION_FINAL, Event.CONNECTION_FINAL) |
| 2527 | |
| 2528 | def testFlowEvents(self): |
| 2529 | snd, rcv = self.link("test-link") |