From 04396164807900b667950d45f7fb7959693c7481 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 8 Dec 2021 04:04:04 -0300 Subject: [PATCH] add test --- tests/integration/claims/test_claim_commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/claims/test_claim_commands.py b/tests/integration/claims/test_claim_commands.py index c0abff140..d08be14eb 100644 --- a/tests/integration/claims/test_claim_commands.py +++ b/tests/integration/claims/test_claim_commands.py @@ -208,6 +208,9 @@ class ClaimSearchCommand(ClaimTestCase): await self.assertFindsClaims([three, two], claim_ids=[self.get_claim_id(three), self.get_claim_id(two)]) await self.assertFindsClaims([three], claim_id=self.get_claim_id(three)) await self.assertFindsClaims([three], claim_id=self.get_claim_id(three), text='*') + # resolve by sd hash + two_sd_hash = two['outputs'][0]['value']['source']['sd_hash'] + await self.assertFindsClaims([two], sd_hash=two_sd_hash) async def test_source_filter(self): channel = await self.channel_create('@abc')