2
0
mirror of https://github.com/openkmip/pykmip synced 2025-12-20 10:13:18 +00:00

Updated test for App Specific Info for Symmetric Key and added test for App Specific Info for SecretData

This commit is contained in:
Grace Lombardi
2022-07-14 10:03:46 -04:00
committed by arp102
parent 1773fba67c
commit 124f7db5cb
3 changed files with 94 additions and 21 deletions

View File

@@ -275,11 +275,11 @@ class AttributeValueFactory(object):
def _create_application_specific_information(self, info):
if info:
for k,v in info.items():
return attributes.ApplicationSpecificInformation(
k,
v
)
print(info.get("application_namespace"))
return attributes.ApplicationSpecificInformation(
application_namespace=info.get("application_namespace"),
application_data=info.get("application_data")
)
else:
return attributes.ApplicationSpecificInformation()