forked from LBRYCommunity/lbry-sdk
wip
This commit is contained in:
parent
a24fbf81d7
commit
c8aa73a5d6
2 changed files with 5 additions and 1 deletions
|
@ -647,6 +647,10 @@ def expand_query(**kwargs):
|
||||||
{"must_not":
|
{"must_not":
|
||||||
[
|
[
|
||||||
{"term": {"reposted_claim_type": CLAIM_TYPES['stream']}}
|
{"term": {"reposted_claim_type": CLAIM_TYPES['stream']}}
|
||||||
|
],
|
||||||
|
"must":
|
||||||
|
[
|
||||||
|
{"term": {"claim_type": CLAIM_TYPES['repost']}}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -418,7 +418,7 @@ class ClaimSearchCommand(ClaimTestCase):
|
||||||
print('NOSRC', no_source_claims)
|
print('NOSRC', no_source_claims)
|
||||||
print('MP4', mp4_claims)
|
print('MP4', mp4_claims)
|
||||||
print('NSRC NO MEDIA', no_source_claims_no_media)
|
print('NSRC NO MEDIA', no_source_claims_no_media)
|
||||||
# self.assertEqual(1, len(no_source_claims_no_media))
|
self.assertEqual(1, len(no_source_claims_no_media))
|
||||||
self.assertEqual(1, len(no_source_claims))
|
self.assertEqual(1, len(no_source_claims))
|
||||||
self.assertEqual(1, len(mp4_claims))
|
self.assertEqual(1, len(mp4_claims))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue