| 2362 | self.expect(Event.SESSION_FINAL, Event.CONNECTION_FINAL) |
| 2363 | |
| 2364 | def testFlowEvents(self): |
| 2365 | snd, rcv = self.link("test-link") |
| 2366 | snd.session.connection.collect(self.collector) |
| 2367 | rcv.open() |
| 2368 | rcv.flow(10) |
| 2369 | self.pump() |
| 2370 | self.expect(Event.CONNECTION_INIT, Event.SESSION_INIT, |
| 2371 | Event.LINK_INIT, Event.LINK_REMOTE_OPEN, Event.LINK_FLOW) |
| 2372 | rcv.flow(10) |
| 2373 | self.pump() |
| 2374 | self.expect(Event.LINK_FLOW) |
| 2375 | return snd, rcv |
| 2376 | |
| 2377 | def testDeliveryEvents(self): |
| 2378 | snd, rcv = self.link("test-link") |