3.0.ipv8.test.bootstrapping.dispersy.test_bootstrapper
Classes
Module Contents
- class 3.0.ipv8.test.bootstrapping.dispersy.test_bootstrapper.TestDispersyBootstrapper(methodName: str = 'runTest')
Bases:
3.0.ipv8.test.base.TestBaseTests 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.