request.tests.test_cmp_workflow

Classes

TestCMPHelper

Mixin that adds log features to the subclass.

Module Contents

class request.tests.test_cmp_workflow.TestCMPHelper[source]

Bases: trustpoint.logger.LoggerMixin

Mixin that adds log features to the subclass.

test_cmp_no_onboarding_shared_secret_auth(cmp_device_without_onboarding)[source]

Test client certificate validation when the request does not contain the ‘HTTP_SSL_CLIENT_CERT’ header.

Return type:

None

test_cmp_with_onboarding_client_certificate_auth(domain_credential_cmp_onboarding, rsa_private_key)[source]

Test CMP client certificate authentication for a device WITH onboarding.

Return type:

None

test_unauthorized_device_access_using_cmp_mock_server(cmp_device_without_onboarding)[source]

Test unauthorized device attempts to access the CMP endpoint using CMPMockServer.

Return type:

None