Skip to content

Commit 8d370c1

Browse files
committed
fix: DIDMethod refs in tests
Signed-off-by: Micah Peltier <micah6_8@yahoo.com>
1 parent 11ec1d4 commit 8d370c1

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

aries_cloudagent/protocols/connections/v1_0/tests/test_manager.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,8 @@ async def test_receive_request_public_did_conn_invite(self):
658658
recipient_did=self.test_did, recipient_did_public=True
659659
)
660660
await session.wallet.create_local_did(
661-
method=DIDMethod.SOV,
662-
key_type=KeyType.ED25519,
661+
method=SOV,
662+
key_type=ED25519,
663663
seed=None,
664664
did=self.test_did,
665665
)
@@ -699,8 +699,8 @@ async def test_receive_request_public_did_unsolicited(self):
699699
recipient_did=self.test_did, recipient_did_public=True
700700
)
701701
await session.wallet.create_local_did(
702-
method=DIDMethod.SOV,
703-
key_type=KeyType.ED25519,
702+
method=SOV,
703+
key_type=ED25519,
704704
seed=None,
705705
did=self.test_did,
706706
)

aries_cloudagent/protocols/didexchange/v1_0/tests/test_manager.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -988,8 +988,8 @@ async def test_receive_request_implicit_public_did_not_enabled(self):
988988
await mediation_record.save(session)
989989

990990
await session.wallet.create_local_did(
991-
method=DIDMethod.SOV,
992-
key_type=KeyType.ED25519,
991+
method=SOV,
992+
key_type=ED25519,
993993
seed=None,
994994
did=TestConfig.test_did,
995995
)
@@ -1051,8 +1051,8 @@ async def test_receive_request_implicit_public_did(self):
10511051
await mediation_record.save(session)
10521052

10531053
await session.wallet.create_local_did(
1054-
method=DIDMethod.SOV,
1055-
key_type=KeyType.ED25519,
1054+
method=SOV,
1055+
key_type=ED25519,
10561056
seed=None,
10571057
did=TestConfig.test_did,
10581058
)

0 commit comments

Comments
 (0)