Close all p2p connections to the node.
(self)
| 340 | return self.p2ps[0] |
| 341 | |
| 342 | def disconnect_p2ps(self): |
| 343 | """Close all p2p connections to the node.""" |
| 344 | for p in self.p2ps: |
| 345 | p.peer_disconnect() |
| 346 | del self.p2ps[:] |
| 347 | |
| 348 | class TestNodeCLIAttr: |
| 349 | def __init__(self, cli, command): |
no test coverage detected