latest.ipv8.test.peerdiscovery.test_community

Module Contents

Classes

TestDiscoveryCommunity

Tests related to the DiscoveryCommunity.

class latest.ipv8.test.peerdiscovery.test_community.TestDiscoveryCommunity(methodName: str = 'runTest')

Bases: latest.ipv8.test.base.TestBase

Tests related to the DiscoveryCommunity.

setUp() None

Create two discovery communities that are not managed by TestBase.

async tearDown() None

We made our own unmanaged overlays: tear them down.

async test_deprecated_introduction() None

Check if we can handle the deprecated Discovery introduction request as a normal one.

async test_bootstrap() None

Check if we can bootstrap our peerdiscovery.

async test_cross_peer() None

If we have different peers under our control, don’t claim to be the other identity.