add test
This commit is contained in:
parent
19fa274227
commit
0439616480
1 changed files with 3 additions and 0 deletions
|
@ -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, 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))
|
||||||
await self.assertFindsClaims([three], claim_id=self.get_claim_id(three), text='*')
|
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):
|
async def test_source_filter(self):
|
||||||
channel = await self.channel_create('@abc')
|
channel = await self.channel_create('@abc')
|
||||||
|
|
Loading…
Reference in a new issue