latest.ipv8.test.messaging.anonymization.test_datachecker

Module Contents

Classes

TestDataChecker

Tests related to the DataChecker.

Attributes

tracker_pkt

dht_pkt

utp_pkt

utp_ext3_pkt

ipv8_pkt

tunnel_pkt

latest.ipv8.test.messaging.anonymization.test_datachecker.tracker_pkt
latest.ipv8.test.messaging.anonymization.test_datachecker.dht_pkt = b'd1:ad2:id20:abcdefghij01234567899:info_hash20:mnopqrstuvwxyz123456e1:q9:get_peers1:t2:aa1:y1:qe'
latest.ipv8.test.messaging.anonymization.test_datachecker.utp_pkt
latest.ipv8.test.messaging.anonymization.test_datachecker.utp_ext3_pkt
latest.ipv8.test.messaging.anonymization.test_datachecker.ipv8_pkt
latest.ipv8.test.messaging.anonymization.test_datachecker.tunnel_pkt
class latest.ipv8.test.messaging.anonymization.test_datachecker.TestDataChecker(methodName: str = 'runTest')

Bases: latest.ipv8.test.base.TestBase

Tests related to the DataChecker.

test_could_be_dht() None

Check if a DHT packet is correctly identified.

test_could_be_udp_tracker() None

Check if a UDP tracker packet is correctly identified.

test_could_be_utp() None

Check if a UTP packet is correctly identified.

test_could_be_ipv8() None

Check if a IPv8 packet is correctly identified.

test_could_be_bt() None

Check if a BitTorrent packet is correctly identified.