From e775aab89b0914dd71b9971c0430df4d63e8d032 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 21 Mar 2022 22:59:25 -0400 Subject: [PATCH] improve claim search test --- tests/integration/takeovers/test_resolve_command.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/takeovers/test_resolve_command.py b/tests/integration/takeovers/test_resolve_command.py index 6a266dff4..af179862d 100644 --- a/tests/integration/takeovers/test_resolve_command.py +++ b/tests/integration/takeovers/test_resolve_command.py @@ -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