Skip to content

Commit

Permalink
fix multikey tests
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Sep 28, 2024
1 parent ee75ec9 commit ca1e9a5
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions aries_cloudagent/wallet/keys/tests/test_key_operations.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Test MultikeypManager."""

from unittest import IsolatedAsyncioTestCase
from aries_cloudagent.wallet.keys.manager import MultikeyManager
from aries_cloudagent.wallet.keys.manager import MultikeyManager, multikey_to_verkey, verkey_to_multikey
from aries_cloudagent.core.in_memory import InMemoryProfile


Expand Down Expand Up @@ -34,13 +34,6 @@ async def test_key_creation(self):
assert key_info["multikey"] == self.multikey
assert key_info["kid"] == self.kid

async def test_key_representations(self):
async with self.profile.session() as session:
assert (
MultikeyManager(session=session)._multikey_to_verkey(self.multikey)
== self.verkey
)
assert (
MultikeyManager(session=session)._verkey_to_multikey(self.verkey)
== self.multikey
)
async def test_key_transformations(self):
assert multikey_to_verkey(self.multikey) == self.verkey
assert verkey_to_multikey(self.verkey) == self.multikey

0 comments on commit ca1e9a5

Please sign in to comment.