3.0.ipv8.test.bootstrapping.dispersy.test_bootstrapper ====================================================== .. py:module:: 3.0.ipv8.test.bootstrapping.dispersy.test_bootstrapper Classes ------- .. autoapisummary:: 3.0.ipv8.test.bootstrapping.dispersy.test_bootstrapper.TestDispersyBootstrapper Module Contents --------------- .. py:class:: TestDispersyBootstrapper(methodName: str = 'runTest') Bases: :py:obj:`3.0.ipv8.test.base.TestBase` Tests related to Dispersy-style bootstrapping. .. py:method:: setUp() -> None Create a fake bootstrap server and create a bootstrapper definition for it. .. py:method:: test_initialize() -> None :async: Check if the special bootstrap addresses are added to the overlay's blacklist upon initialization. We don't test network DNS resolution here, which would contact the Internet. .. py:method:: test_get_addresses() -> None :async: Check if the bootstrapper contacts the registered bootstrap nodes and doesn't return manual addresses. .. py:method:: test_get_addresses_timeout() -> None :async: Check if a second call within the timeout gets dropped. .. py:method:: test_get_addresses_blacklist() -> None :async: Check if the get_addresses ensures bootstrap nodes are in the blacklist. .. py:method:: test_keep_alive() -> None :async: Check if the keep_alive tries to walk to a bootstrap node to keepe the connection alive. .. py:method:: test_keep_alive_blacklist() -> None :async: Check if the keep_alive adds walked nodes into the blacklist. .. py:method:: test_blacklist() -> None :async: Check if the blacklist returns the added nodes in the blacklist.