From 3ae4aeea47e1962f13b95bb08d6212b3ef6d86bd Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Fri, 17 Jun 2022 14:01:49 -0400 Subject: [PATCH] Search for longer prefix of sd_hash to give better chance of unique results. --- tests/integration/claims/test_claim_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/claims/test_claim_commands.py b/tests/integration/claims/test_claim_commands.py index 9fa239a42..9edb5da92 100644 --- a/tests/integration/claims/test_claim_commands.py +++ b/tests/integration/claims/test_claim_commands.py @@ -208,7 +208,7 @@ class ClaimSearchCommand(ClaimTestCase): # resolve by sd hash two_sd_hash = two['outputs'][0]['value']['source']['sd_hash'] await self.assertFindsClaims([two], sd_hash=two_sd_hash) - await self.assertFindsClaims([two], sd_hash=two_sd_hash[:2]) + await self.assertFindsClaims([two], sd_hash=two_sd_hash[:4]) async def test_source_filter(self): channel = await self.channel_create('@abc')