From 1afdd62ef3e70adb66d7d33b7f9195278899d283 Mon Sep 17 00:00:00 2001 From: jamshale Date: Tue, 10 Dec 2024 19:31:34 +0000 Subject: [PATCH] Add a unit test Signed-off-by: jamshale --- .../anoncreds/default/legacy_indy/tests/test_registry.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py b/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py index c41eb80797..df3af6f44f 100644 --- a/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py +++ b/acapy_agent/anoncreds/default/legacy_indy/tests/test_registry.py @@ -1210,3 +1210,11 @@ async def test_sync_wallet_rev_list_with_issuer_cred_rev_records( ), ) assert isinstance(result, RevList) + + async def test_get_schem_info(self): + result = await self.registry.get_schema_info_by_id( + "XduBsoPyEA4szYMy3pZ8De:2:minimal-33279d005748b3cc:1.0", + ) + assert result.issuer_id == "XduBsoPyEA4szYMy3pZ8De" + assert result.name == "minimal-33279d005748b3cc" + assert result.version == "1.0"