2.12.ipv8.test.peerdiscovery.test_random_discovery
Module Contents
Classes
- class 2.12.ipv8.test.peerdiscovery.test_random_discovery.TestRandomWalk(methodName: str = 'runTest')
Bases:
2.12.ipv8.test.base.TestBase
Tests 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