(self)
| 259 | self.serv_evt.clear() |
| 260 | |
| 261 | def tearDown(self): |
| 262 | socket.getfqdn = self.real_getfqdn |
| 263 | # indicate that the client is finished |
| 264 | self.client_evt.set() |
| 265 | # wait for the server thread to terminate |
| 266 | self.serv_evt.wait() |
| 267 | threading_helper.join_thread(self.thread) |
| 268 | # restore sys.stdout |
| 269 | sys.stdout = self.old_stdout |
| 270 | # restore DEBUGSTREAM |
| 271 | smtpd.DEBUGSTREAM.close() |
| 272 | smtpd.DEBUGSTREAM = self.old_DEBUGSTREAM |
| 273 | del self.thread |
| 274 | self.doCleanups() |
| 275 | threading_helper.threading_cleanup(*self.thread_key) |
| 276 | |
| 277 | def get_output_without_xpeer(self): |
| 278 | test_output = self.output.getvalue() |
nothing calls this directly
no test coverage detected