improve claim search test

This commit is contained in:
Jack Robison 2022-03-21 22:59:25 -04:00
parent bb3337da5f
commit e775aab89b
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -633,6 +633,12 @@ class ResolveClaimTakeovers(BaseResolveTestCase):
self.assertDictEqual(await self.resolve('@other/signed4'),
await self.resolve('signed4'))
self.assertEqual(2, len(await self.claim_search(channel_ids=[channel_id2])))
await self.channel_update(channel_id2)
await make_claim('third_signed', '0.01', channel_id=channel_id2)
self.assertEqual(3, len(await self.claim_search(channel_ids=[channel_id2])))
async def _test_activation_delay(self):
name = 'derp'
# initially claim the name