pki.tests.test_models.test_domain_model

Test the DomainModel class.

Attributes

Functions

test_attributes_and_properties(domain_instance)

Test that the common_name property returns the certificate's common name.

Module Contents

pki.tests.test_models.test_domain_model.COMMON_NAME = 'Root CA'[source]
pki.tests.test_models.test_domain_model.UNIQUE_NAME = ''[source]
pki.tests.test_models.test_domain_model.CA_TYPE[source]
pki.tests.test_models.test_domain_model.DOMAIN_UNIQUE_NAME = 'domain_name'[source]
pki.tests.test_models.test_domain_model.test_attributes_and_properties(domain_instance)[source]

Test that the common_name property returns the certificate’s common name.

Parameters:

domain_instance (dict[str, Any])

Return type:

None