Skip to content

Commit

Permalink
Add a unit test
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <[email protected]>
  • Loading branch information
jamshale committed Dec 11, 2024
1 parent ee05177 commit 5460ff5
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 5460ff5

Please sign in to comment.