mirror of
https://github.com/openkmip/pykmip
synced 2025-12-10 05:13:15 +00:00
Rename the CertificateTypeEnum enum to CertificateType
This change renames the CertificateTypeEnum enumeration to CertificateType, matching the naming schemes of all other enumerations. This is a backwards incompatible change and will break any scripts or programs that use the current CertificateTypeEnum name.
This commit is contained in:
@@ -1074,7 +1074,7 @@ class TestKmipEngine(testtools.TestCase):
|
||||
core_object.certificate_value.value
|
||||
)
|
||||
self.assertEqual(
|
||||
enums.CertificateTypeEnum.X_509,
|
||||
enums.CertificateType.X_509,
|
||||
core_object.certificate_type.value
|
||||
)
|
||||
|
||||
@@ -1592,7 +1592,7 @@ class TestKmipEngine(testtools.TestCase):
|
||||
certificate,
|
||||
'Certificate Type'
|
||||
)
|
||||
self.assertEqual(enums.CertificateTypeEnum.X_509, result)
|
||||
self.assertEqual(enums.CertificateType.X_509, result)
|
||||
|
||||
result = e._get_attribute_from_managed_object(
|
||||
certificate,
|
||||
|
||||
Reference in New Issue
Block a user