mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-23 17:27:25 +00:00
fixed chris45 again
This commit is contained in:
parent
2007c48af3
commit
7cd0213eb9
1 changed files with 4 additions and 4 deletions
|
@ -82,8 +82,8 @@ class EpicAdventuresOfChris45(CommandTestCase):
|
||||||
# After some soul searching Chris decides that his story needs more
|
# After some soul searching Chris decides that his story needs more
|
||||||
# heart and a better ending. He takes down the story and begins the rewrite.
|
# heart and a better ending. He takes down the story and begins the rewrite.
|
||||||
abandon = await self.out(self.daemon.jsonrpc_claim_abandon(claim_id, blocking=False))
|
abandon = await self.out(self.daemon.jsonrpc_claim_abandon(claim_id, blocking=False))
|
||||||
self.assertTrue(abandon['success'])
|
self.assertEqual(abandon['inputs'][0]['claim_id'], claim_id)
|
||||||
await self.confirm_tx(abandon['tx']['txid'])
|
await self.confirm_tx(abandon['txid'])
|
||||||
|
|
||||||
# And now checks that the claim doesn't resolve anymore.
|
# And now checks that the claim doesn't resolve anymore.
|
||||||
response = await self.out(self.daemon.jsonrpc_resolve('lbry://@spam/hovercraft'))
|
response = await self.out(self.daemon.jsonrpc_resolve('lbry://@spam/hovercraft'))
|
||||||
|
@ -184,8 +184,8 @@ class EpicAdventuresOfChris45(CommandTestCase):
|
||||||
# But sadly Ramsey wasn't so pleased. It was hard for him to tell Chris...
|
# But sadly Ramsey wasn't so pleased. It was hard for him to tell Chris...
|
||||||
# Chris, though a bit heartbroken, abandoned the claim for now, but instantly started working on new hit lyrics
|
# Chris, though a bit heartbroken, abandoned the claim for now, but instantly started working on new hit lyrics
|
||||||
abandon = await self.out(self.daemon.jsonrpc_claim_abandon(txid=tx['txid'], nout=0, blocking=False))
|
abandon = await self.out(self.daemon.jsonrpc_claim_abandon(txid=tx['txid'], nout=0, blocking=False))
|
||||||
self.assertTrue(abandon['success'])
|
self.assertTrue(abandon['inputs'][0]['txid'], tx['txid'])
|
||||||
await self.confirm_tx(abandon['tx']['txid'])
|
await self.confirm_tx(abandon['txid'])
|
||||||
|
|
||||||
# He them checks that the claim doesn't resolve anymore.
|
# He them checks that the claim doesn't resolve anymore.
|
||||||
response = await self.out(self.daemon.jsonrpc_resolve(uri))
|
response = await self.out(self.daemon.jsonrpc_resolve(uri))
|
||||||
|
|
Loading…
Add table
Reference in a new issue