3.0.ipv8.test.peerdiscovery.test_random_discovery
Classes
Module Contents
- class 3.0.ipv8.test.peerdiscovery.test_random_discovery.TestRandomWalk(methodName: str = 'runTest')
Bases:
3.0.ipv8.test.base.TestBaseTests related to the random walker.
- async test_take_step() None
Check if we will walk to a random other node.
- Unit test network layout:
NODE0 <-> NODE1 <-> NODE2
- async test_take_step_into() None
Check if we will walk to an introduced node.
- Unit test network layout:
NODE0 <-> (NODE1) <-> NODE2 NODE0 -> NODE2