tribler.test_unit.core.tunnel.test_community
Classes
Tests for the TriblerTunnelCommunity class. |
Module Contents
- class tribler.test_unit.core.tunnel.test_community.TestTriblerTunnelCommunity
Bases:
ipv8.test.base.TestBase[tribler.core.tunnel.community.TriblerTunnelCommunity]Tests for the TriblerTunnelCommunity class.
- create_node(settings: ipv8.community.CommunitySettings | None = None, create_dht: bool = False, enable_statistics: bool = False) ipv8.test.mocking.ipv8.MockIPv8
Set up a fake dht provider.
- async create_intro(i: int, service: bytes) None
Create an 1 hop introduction point for some node for some service.
- async test_backup_exitnodes() None
Check if exitnodes are serialized and deserialized to and from disk properly.
Test if hidden downloads get ignored by monitor_downloads.
- async test_monitor_downloads_stop_ip() None
Test if we stop building IPs when a download doesn’t exist anymore.
- async test_monitor_downloads_intro() None
Test if rendezvous points are removed when a download is stopped.
- async test_monitor_downloads_stop_all() None
Test if circuits are removed when all downloads are stopped.
- async test_circuit_reject_too_many() None
Test if a circuit is rejected by an exit node if it already joined the max number of circuits.