3.0.ipv8.test.attestation.identity.test_manager =============================================== .. py:module:: 3.0.ipv8.test.attestation.identity.test_manager Classes ------- .. autoapisummary:: 3.0.ipv8.test.attestation.identity.test_manager.TestIdentityManager Module Contents --------------- .. py:class:: TestIdentityManager(methodName: str = 'runTest') Bases: :py:obj:`3.0.ipv8.test.base.TestBase` Tests related to the identity manager. .. py:method:: setUp() -> None Create a new identity manager for testing. .. py:method:: forget_identities() -> None Drop all identity information from our memory database. .. py:method:: test_create_identity() -> None Test if a new pseudonym is correctly created. .. py:method:: test_substantiate_empty() -> None Check if an empty identity disclosure is loaded and valid. .. py:method:: test_create_credential() -> None Test creating a credential without attestations. .. py:method:: test_substantiate_credential_update() -> None Test substantiating a credential without attestations, with existing metadata. .. py:method:: test_substantiate_credential_no_metadata() -> None Test substantiating a credential without attestations, without metadata. This situation is a bit tricky: - The path to the root from the one disclosed Token is valid. - No Metadata is known for this Token and it therefore does not form a credential. .. py:method:: test_substantiate_credential_with_metadata() -> None Test substantiating a credential without attestations. .. py:method:: test_substantiate_credential_full() -> None Test substantiating a typical credential. .. py:method:: test_substantiate_credential_partial() -> None Test substantiating a typical credential, with partial disclosure.