3.0.ipv8.test.messaging.anonymization.test_datachecker ====================================================== .. py:module:: 3.0.ipv8.test.messaging.anonymization.test_datachecker Attributes ---------- .. autoapisummary:: 3.0.ipv8.test.messaging.anonymization.test_datachecker.tracker_pkt 3.0.ipv8.test.messaging.anonymization.test_datachecker.dht_pkt 3.0.ipv8.test.messaging.anonymization.test_datachecker.utp_pkt 3.0.ipv8.test.messaging.anonymization.test_datachecker.utp_ext3_pkt 3.0.ipv8.test.messaging.anonymization.test_datachecker.ipv8_pkt 3.0.ipv8.test.messaging.anonymization.test_datachecker.tunnel_pkt Classes ------- .. autoapisummary:: 3.0.ipv8.test.messaging.anonymization.test_datachecker.TestDataChecker Module Contents --------------- .. py:data:: tracker_pkt .. py:data:: dht_pkt :value: b'd1:ad2:id20:abcdefghij01234567899:info_hash20:mnopqrstuvwxyz123456e1:q9:get_peers1:t2:aa1:y1:qe' .. py:data:: utp_pkt .. py:data:: utp_ext3_pkt .. py:data:: ipv8_pkt .. py:data:: tunnel_pkt .. py:class:: TestDataChecker(methodName: str = 'runTest') Bases: :py:obj:`3.0.ipv8.test.base.TestBase` Tests related to the DataChecker. .. py:method:: test_could_be_dht() -> None Check if a DHT packet is correctly identified. .. py:method:: test_could_be_udp_tracker() -> None Check if a UDP tracker packet is correctly identified. .. py:method:: test_could_be_utp() -> None Check if a UTP packet is correctly identified. .. py:method:: test_could_be_ipv8() -> None Check if a IPv8 packet is correctly identified. .. py:method:: test_could_be_bt() -> None Check if a BitTorrent packet is correctly identified.