3 missing fields
This commit is contained in:
parent
1eb221c743
commit
3108543ae5
2 changed files with 4 additions and 2 deletions
|
@ -51,7 +51,7 @@ FIELDS = {
|
|||
'title', 'author', 'description',
|
||||
'timestamp', 'creation_timestamp',
|
||||
'duration', 'release_time',
|
||||
'tags',
|
||||
'tags', 'languages', 'has_source', 'reposted_claim_type',
|
||||
'reposted_claim_id', 'repost_count',
|
||||
'trending_group', 'trending_mixed', 'trending_local', 'trending_global',
|
||||
}
|
||||
|
|
|
@ -70,7 +70,9 @@ class ClaimSearchCommand(ClaimTestCase):
|
|||
async def assertFindsClaims(self, claims, **kwargs):
|
||||
kwargs.setdefault('order_by', ['height', '^name'])
|
||||
results = await self.claim_search(**kwargs)
|
||||
self.assertEqual(len(claims), len(results))
|
||||
self.assertEqual(
|
||||
len(claims), len(results),
|
||||
f"{[claim['outputs'][0]['name'] for claim in claims]} != {[result['name'] for result in results]}")
|
||||
for claim, result in zip(claims, results):
|
||||
self.assertEqual(
|
||||
(claim['txid'], self.get_claim_id(claim)),
|
||||
|
|
Loading…
Reference in a new issue