latest.ipv8.test.test_peer
Module Contents
Classes
Tests related to the peer class. |
- class latest.ipv8.test.test_peer.TestPeer(methodName: str = 'runTest')
Bases:
latest.ipv8.test.base.TestBase
Tests related to the peer class.
- test_key
- test_increase_timestamp() None
Check if the Lamport timestamp of a Peer can be increased arbitrarily.
- test_peer_inequality_key() None
Check if peers with a different key and same address are not equal.
- test_median_ping_odd() None
Median ping should return the median ping for odd length measurements.
- test_median_ping_even() None
Median ping should return the median ping for even length measurements.
- test_peer_inequality_address() None
Check if peers with the same key and a different address are equal.