devices.tests.test_revocation.test_device_credential_revocationΒΆ
Tests for the DeviceCredentialRevocation model.
FunctionsΒΆ
Test that a TLS client credential is successfully revoked for a valid issued credential. |
|
Test that revoking a certificate that is already revoked returns the appropriate message. |
|
Test that revoking a certificate with an invalid issued_credential_id fails with the appropriate error. |
Module ContentsΒΆ
- devices.tests.test_revocation.test_device_credential_revocation.test_revoke_certificate_success(tls_client_credential_instance)[source]ΒΆ
Test that a TLS client credential is successfully revoked for a valid issued credential.
- Parameters:
tls_client_credential_instance (dict[str, Any])
- Return type:
None
- devices.tests.test_revocation.test_device_credential_revocation.test_revoke_certificate_already_revoked(tls_client_credential_instance)[source]ΒΆ
Test that revoking a certificate that is already revoked returns the appropriate message.
- Parameters:
tls_client_credential_instance (dict[str, Any])
- Return type:
None