(self)
| 217 | return debugger_thread |
| 218 | |
| 219 | def get_free_addresses(self): |
| 220 | from _pydev_bundle.pydev_localhost import get_socket_names |
| 221 | |
| 222 | socket_names = get_socket_names(2, True) |
| 223 | port0 = socket_names[0][1] |
| 224 | port1 = socket_names[1][1] |
| 225 | |
| 226 | assert port0 != port1 |
| 227 | assert port0 > 0 |
| 228 | assert port1 > 0 |
| 229 | |
| 230 | return port0, port1 |
| 231 | |
| 232 | def test_server(self): |
| 233 | self.original_stdout = sys.stdout |
no test coverage detected