latest.ipv8.test.bootstrapping.dispersy.test_bootstrapper
Module Contents
Classes
Tests related to Dispersy-style bootstrapping. |
- class latest.ipv8.test.bootstrapping.dispersy.test_bootstrapper.TestDispersyBootstrapper(methodName: str = 'runTest')
Bases:
latest.ipv8.test.base.TestBase
Tests related to Dispersy-style bootstrapping.
- async test_initialize() None
Check if the special bootstrap addresses are added to the overlay’s blacklist upon initialization.
We don’t test network DNS resolution here, which would contact the Internet.
- async test_get_addresses() None
Check if the bootstrapper contacts the registered bootstrap nodes and doesn’t return manual addresses.
- async test_get_addresses_blacklist() None
Check if the get_addresses ensures bootstrap nodes are in the blacklist.
- async test_keep_alive() None
Check if the keep_alive tries to walk to a bootstrap node to keepe the connection alive.