Skip to content

Commit

Permalink
fix keyerror
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick <patrick.st-louis@opsecid.ca>
  • Loading branch information
PatStLouis committed Sep 16, 2024
1 parent 022063c commit 209cde6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions aries_cloudagent/did/tests/test_did_key_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ async def test_create_ed25519_did_key(self):
key_type=ED25519, profile=self.profile, seed=self.test_seed
)
assert results["did"] == self.did
assert results["kid"] == self.kid
assert results["multikey"] == self.multikey
assert results["verificationMethod"] == self.kid

async def test_bind_did_key(self):
results = await DIDKey().create(
key_type=ED25519, profile=self.profile, seed=self.test_seed
)
results = await DIDKey().bind(did=results["did"], kid=self.new_kid)
results = await DIDKey().bind(
profile=self.profile, did=results["did"], kid=self.new_kid
)
assert results["did"] == self.did
assert results["kid"] == self.new_kid
assert results["multikey"] == self.multikey
assert results["verificationMethod"] == self.new_kid

0 comments on commit 209cde6

Please sign in to comment.