2.12.ipv8.test.attestation.identity.test_identity
Module Contents
Classes
- class 2.12.ipv8.test.attestation.identity.test_identity.TestIdentityCommunity(methodName: str = 'runTest')
Bases:
2.12.ipv8.test.base.TestBase
[2.12.ipv8.attestation.identity.community.IdentityCommunity
]Tests related to the identity community’s behaviors.
- FAKE_HASH
- create_node(settings: 2.12.ipv8.community.CommunitySettings | None = None, create_dht: bool = False, enable_statistics: bool = False) 2.12.ipv8.test.base.MockIPv8
Use a memory-based identity manager for each community.
- async test_advertise() None
Check if a node can construct an advertisement for his attested attribute.
- async test_advertise_big() None
Check if a node can construct an advertisement for his attested attribute, having more than 32 attributes.
- async test_advertise_metadata() None
Check if a node can construct an advertisement for his attested attribute with metadata.
- async test_advertise_metadata_reject() None
Check if a node cannot construct an advertisement for his attested attribute with wrong metadata.