From c6e806bb7824e370a60df623a2b874ca0f8239af Mon Sep 17 00:00:00 2001 From: Peter Hamilton Date: Fri, 4 Dec 2015 08:49:39 -0500 Subject: [PATCH] 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 --- barbican/tests/plugin/test_kmip.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/barbican/tests/plugin/test_kmip.py b/barbican/tests/plugin/test_kmip.py index 6cef3266b..6be372379 100644 --- a/barbican/tests/plugin/test_kmip.py +++ b/barbican/tests/plugin/test_kmip.py @@ -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)