Add loopback aliases for every mock address that is not already bindable.
()
| 316 | # IPv4 on Windows: nothing was added, nothing to remove. |
| 317 | |
| 318 | def SetupMockIPs(): |
| 319 | """Add loopback aliases for every mock address that is not already bindable.""" |
| 320 | for addr in _ALL_MOCK_ADDRS: |
| 321 | _AddLoopbackAddr( addr ) |
| 322 | print( "Setup complete." ) |
| 323 | |
| 324 | def CleanupMockIPs(): |
| 325 | """Remove loopback aliases added by --setup-mock-ips.""" |
no test coverage detected