diff --git a/tests/integration/blockchain/test_claim_commands.py b/tests/integration/blockchain/test_claim_commands.py index 2a883f7a4..b1e391522 100644 --- a/tests/integration/blockchain/test_claim_commands.py +++ b/tests/integration/blockchain/test_claim_commands.py @@ -73,12 +73,6 @@ class ClaimSearchCommand(ClaimTestCase): (result['txid'], result['claim_id']) ) - async def assertFindsNoClaims(self, **kwargs): - kwargs.setdefault('order_by', ['height', '^name']) - results = await self.claim_search(**kwargs) - print(results) - self.assertEqual(0, len(results)) - async def test_basic_claim_search(self): await self.create_channel() channel_txo = self.channel['outputs'][0] @@ -335,11 +329,11 @@ class ClaimSearchCommand(ClaimTestCase): await self.assertFindsClaims([image, video], media_types=['video/mp4', 'image/png']) # duration - await self.assertFindsClaim(video, duration=f'>{14}') - await self.assertFindsClaim(video, duration=f'<{16}') + await self.assertFindsClaim(video, duration='>14') + await self.assertFindsClaim(video, duration='<16') await self.assertFindsClaim(video, duration=15) - await self.assertFindsNoClaims(duration=f'>{100}') - await self.assertFindsNoClaims(duration=f'<{14}') + await self.assertFindsClaims([], duration='>100') + await self.assertFindsClaims([], duration='<14') async def test_search_by_text(self): chan1_id = self.get_claim_id(await self.channel_create('@SatoshiNakamoto'))