3.0.ipv8.test.attestation.wallet.test_attestation_community
Classes
Module Contents
- class 3.0.ipv8.test.attestation.wallet.test_attestation_community.TestCommunity(methodName: str = 'runTest')
Bases:
3.0.ipv8.test.base.TestBase[3.0.ipv8.attestation.wallet.community.AttestationCommunity]Tests related to the attestation community.
- private_key
The PRIVATE key object of node i.
- create_node(settings: 3.0.ipv8.community.CommunitySettings | None = None, create_dht: bool = False, enable_statistics: bool = False) 3.0.ipv8.test.base.MockIPv8
Create a curve25519 peer with a memory database.
- async test_request_attestation_callback() None
Check if the request_attestation callback is correctly called.
- async test_request_attestation_twice_callback() None
Check if the request_attestation callback is correctly called twice in a row.
- async test_request_attestation_callback_metadata() None
Check if the request_attestation callback is correctly called with metadata.
- async test_request_attestation() None
Check if the request_attestation callback is correctly called.
- async test_request_attestation_big() None
Check if the request_attestation callback is correctly called for id_metadata_big.
- async test_request_attestation_range() None
Check if the request_attestation callback is correctly called for id_metadata_range_18plus.
- async test_verify_attestation_big() None
Check if an attestation can be verified for id_metadata_big.