3.0.ipv8.test.REST.test_isolation_endpoint
Classes
Module Contents
- class 3.0.ipv8.test.REST.test_isolation_endpoint.MockTunnelCommunity(settings: 3.0.ipv8.messaging.anonymization.community.TunnelSettings)
Bases:
3.0.ipv8.messaging.anonymization.community.TunnelCommunity,3.0.ipv8.test.mocking.community.MockCommunityFake TunnelCommunity just for circuit management.
- settings
- circuits
- relay_from_to
- exit_sockets
- bootstrappers
- class 3.0.ipv8.test.REST.test_isolation_endpoint.TestIsolationEndpoint(methodName: str = 'runTest')
Bases:
3.0.ipv8.test.base.TestBase[MockTunnelCommunity]Tests for REST requests to the isolation endpoint.
- FAKE_BOOTSTRAP_ADDRESS = ('127.0.0.1', 0)
- async test_no_choice() None
Test if requests that do not specify a to add either an exit node or a bootstrap server.