2
0
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:
Peter Hamilton
2017-10-11 08:24:55 -04:00
parent 0a04424e6b
commit 179a84b268
13 changed files with 42 additions and 44 deletions

View File

@@ -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,