latest.ipv8.test.attestation.identity.test_identity
Module Contents
Classes
Tests related to the identity community's behaviors. |
- class latest.ipv8.test.attestation.identity.test_identity.TestIdentityCommunity(methodName: str = 'runTest')
Bases:
latest.ipv8.test.base.TestBase
[latest.ipv8.attestation.identity.community.IdentityCommunity
]Tests related to the identity community’s behaviors.
- FAKE_HASH
- create_node(settings: latest.ipv8.community.CommunitySettings | None = None, create_dht: bool = False, enable_statistics: bool = False) latest.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.