Remove loopback aliases added by --setup-mock-ips.
()
| 322 | print( "Setup complete." ) |
| 323 | |
| 324 | def CleanupMockIPs(): |
| 325 | """Remove loopback aliases added by --setup-mock-ips.""" |
| 326 | for addr in _ALL_MOCK_ADDRS: |
| 327 | if addr in ( '127.0.0.1', '::1' ): |
| 328 | continue |
| 329 | _RemoveLoopbackAddr( addr ) |
| 330 | print( "Cleanup complete." ) |
| 331 | |
| 332 | def CheckMockIPsBindable(): |
| 333 | """Verify all mock addresses are bindable; exit with an error if any are not.""" |
no test coverage detected