Remove low-level PyKMIP test asserts

This change removes two low-level asserts that test the internals of
PyKMIP core. The referenced portions of PyKMIP have been modified in the
latest release. Once the latest release has been published, these asserts
will be added back in, modified to work properly with the new version of
PyKMIP.

Partial-Bug: #1522856
Change-Id: I50b9a4ad935d6458c5dc42f8184a724c78a28a59
This commit is contained in:
Peter Hamilton 2015-12-04 08:49:39 -05:00
parent 2ac5bfbf4f
commit c6e806bb78

View File

@ -601,9 +601,6 @@ class WhenTestingKMIPSecretStore(utils.BaseTestCase):
proxy = self.secret_store.client.proxy
register_call_args, _ = proxy.register.call_args
actual_secret = register_call_args[2]
self.assertEqual(
enums.CertificateTypeEnum.X_509.value,
actual_secret.certificate_type.value)
self.assertEqual(
keys.get_certificate_der(),
actual_secret.certificate_value.value)
@ -857,9 +854,6 @@ class WhenTestingKMIPSecretStore(utils.BaseTestCase):
def test_credential(self):
actual_credential = self.secret_store.credential
self.assertEqual(
enums.CredentialType.USERNAME_AND_PASSWORD.value,
actual_credential.credential_type.value)
self.assertEqual(
self.expected_username,
actual_credential.credential_value.username.value)