Skip to content

Commit 1afdd62

Browse files
committed
Add a unit test
Signed-off-by: jamshale <[email protected]>
1 parent 9ea0150 commit 1afdd62

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py

+8
Original file line numberDiff line numberDiff line change
@@ -1210,3 +1210,11 @@ async def test_sync_wallet_rev_list_with_issuer_cred_rev_records(
12101210
),
12111211
)
12121212
assert isinstance(result, RevList)
1213+
1214+
async def test_get_schem_info(self):
1215+
result = await self.registry.get_schema_info_by_id(
1216+
"XduBsoPyEA4szYMy3pZ8De:2:minimal-33279d005748b3cc:1.0",
1217+
)
1218+
assert result.issuer_id == "XduBsoPyEA4szYMy3pZ8De"
1219+
assert result.name == "minimal-33279d005748b3cc"
1220+
assert result.version == "1.0"

0 commit comments

Comments
 (0)