mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-09-01 09:45:13 +00:00
more checks on test_transactions
This commit is contained in:
parent
fcd46629c4
commit
ff8d37443e
1 changed files with 3 additions and 2 deletions
|
@ -80,6 +80,7 @@ class BasicTransactionTest(IntegrationTestCase):
|
||||||
|
|
||||||
response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo'))
|
response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo'))
|
||||||
self.assertIn('lbry://@bar/foo', response)
|
self.assertIn('lbry://@bar/foo', response)
|
||||||
|
self.assertIn('claim', response['lbry://@bar/foo'])
|
||||||
|
|
||||||
abandon_tx = await d2f(Transaction.abandon([claim_tx.outputs[0]], [self.account], self.account))
|
abandon_tx = await d2f(Transaction.abandon([claim_tx.outputs[0]], [self.account], self.account))
|
||||||
await self.broadcast(abandon_tx)
|
await self.broadcast(abandon_tx)
|
||||||
|
@ -88,5 +89,5 @@ class BasicTransactionTest(IntegrationTestCase):
|
||||||
await self.on_transaction(abandon_tx)
|
await self.on_transaction(abandon_tx)
|
||||||
|
|
||||||
# should not resolve, but does, why?
|
# should not resolve, but does, why?
|
||||||
# response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo'))
|
response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo'))
|
||||||
# self.assertNotIn('lbry://@bar/foo', response)
|
self.assertNotIn('claim', response['lbry://@bar/foo'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue