(self)
| 542 | ThreadableTest.__init__(self) |
| 543 | |
| 544 | def clientSetUp(self): |
| 545 | self.cli = socket.socket(socket.PF_RDS, socket.SOCK_SEQPACKET, 0) |
| 546 | try: |
| 547 | # RDS sockets must be bound explicitly to send or receive data |
| 548 | self.cli.bind((HOST, 0)) |
| 549 | self.cli_addr = self.cli.getsockname() |
| 550 | except OSError: |
| 551 | # skipTest should not be called here, and will be called in the |
| 552 | # server instead |
| 553 | pass |
| 554 | |
| 555 | def clientTearDown(self): |
| 556 | self.cli.close() |
nothing calls this directly
no test coverage detected