3.0.ipv8.test.peerdiscovery.test_edge_discovery =============================================== .. py:module:: 3.0.ipv8.test.peerdiscovery.test_edge_discovery Classes ------- .. autoapisummary:: 3.0.ipv8.test.peerdiscovery.test_edge_discovery.TestEdgeWalk Module Contents --------------- .. py:class:: TestEdgeWalk(methodName: str = 'runTest') Bases: :py:obj:`3.0.ipv8.test.base.TestBase` Tests related to the edge walker. .. py:method:: setUp() -> None Set up three nodes that are not managed by TestBase. .. py:method:: tearDown() -> None :async: We made our own unmanaged overlays: tear them down. .. py:method:: test_take_step() -> None :async: Check if we will walk to a random other node. Unit test network layout: NODE0 <-> NODE1 <-> NODE2 .. py:method:: test_take_step_into() -> None :async: Check if we will walk to an introduced node. .. py:method:: test_fail_step_into() -> None :async: Check if we drop an unreachable introduced node. .. py:method:: test_complete_edge() -> None :async: Check if we can complete an edge.