Skip to content

Commit

Permalink
test_wrap: fix UT now that isBool is fixed
Browse files Browse the repository at this point in the history
PyKCS11.CKA_EXTRACTABLE attribute is a boolean now.
  • Loading branch information
LudovicRousseau committed May 4, 2020
1 parent a3ab558 commit 3f3b52b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def test_wrapKey_UNWRAP_TEMPLATE(self):
self.assertSequenceEqual(DataIn, DataCheck)

attributes = self.session.getAttributeValue(unwrapped, [PyKCS11.CKA_EXTRACTABLE])
self.assertSequenceEqual(attributes, [(0,)])
self.assertSequenceEqual(attributes, [False])

# cleanup
self.session.destroyObject(unwrapped)
Expand Down

0 comments on commit 3f3b52b

Please sign in to comment.