3.0.ipv8.test.dht.base ====================== .. py:module:: 3.0.ipv8.test.dht.base Attributes ---------- .. autoapisummary:: 3.0.ipv8.test.dht.base.OT Classes ------- .. autoapisummary:: 3.0.ipv8.test.dht.base.TestDHTBase Module Contents --------------- .. py:data:: OT .. py:class:: TestDHTBase(methodName: str = 'runTest') Bases: :py:obj:`3.0.ipv8.test.base.TestBase`\ [\ :py:obj:`OT`\ ] Extension to TestBase that provides common DHT shortcuts. .. py:method:: dht_node(i: int) -> 3.0.ipv8.dht.routing.Node Get the node instance of node i. .. py:method:: routing_table(i: int) -> 3.0.ipv8.dht.routing.RoutingTable Get the routing table of node i. .. py:method:: storage(i: int) -> 3.0.ipv8.dht.storage.Storage Get the storage of node i. .. py:method:: my_node_id(i: int) -> bytes Get the DHT node id of node i.