latest.ipv8.test.peerdiscovery.test_edge_discovery

Module Contents

Classes

TestEdgeWalk

Tests related to the edge walker.

class latest.ipv8.test.peerdiscovery.test_edge_discovery.TestEdgeWalk(methodName: str = 'runTest')

Bases: latest.ipv8.test.base.TestBase

Tests related to the edge walker.

setUp() None

Set up three nodes that are not managed by TestBase.

async tearDown() None

We made our own unmanaged overlays: tear them down.

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.

async test_fail_step_into() None

Check if we drop an unreachable introduced node.

async test_complete_edge() None

Check if we can complete an edge.