(self)
| 729 | assert self.rcv.remote_snd_settle_mode == Link.SND_UNSETTLED |
| 730 | |
| 731 | def test_cleanup(self): |
| 732 | snd, rcv = self.link("test-link") |
| 733 | snd.open() |
| 734 | rcv.open() |
| 735 | self.pump() |
| 736 | assert rcv.state == Endpoint.LOCAL_ACTIVE | Endpoint.REMOTE_ACTIVE |
| 737 | snd.close() |
| 738 | snd.free() |
| 739 | del snd |
| 740 | gc.collect() |
| 741 | self.pump() |
| 742 | assert rcv.state == Endpoint.LOCAL_ACTIVE | Endpoint.REMOTE_CLOSED |
| 743 | |
| 744 | class TerminusConfig: |
| 745 |