forked from LBRYCommunity/lbry-sdk
confirmations is returned as int
This commit is contained in:
parent
93f9622798
commit
72090b45dd
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class ClaimManagement(CommandTestCase):
|
||||||
claim = await self.make_claim(amount='2.5') # creates new claim
|
claim = await self.make_claim(amount='2.5') # creates new claim
|
||||||
txs = await self.out(self.daemon.jsonrpc_transaction_list())
|
txs = await self.out(self.daemon.jsonrpc_transaction_list())
|
||||||
self.assertEqual(len(txs[0]['claim_info']), 1)
|
self.assertEqual(len(txs[0]['claim_info']), 1)
|
||||||
self.assertEqual(txs[0]['confirmations'], '1')
|
self.assertEqual(txs[0]['confirmations'], 1)
|
||||||
self.assertEqual(txs[0]['claim_info'][0]['balance_delta'], '-2.5')
|
self.assertEqual(txs[0]['claim_info'][0]['balance_delta'], '-2.5')
|
||||||
self.assertEqual(txs[0]['claim_info'][0]['claim_id'], claim['claim_id'])
|
self.assertEqual(txs[0]['claim_info'][0]['claim_id'], claim['claim_id'])
|
||||||
self.assertEqual(txs[0]['value'], '0.0')
|
self.assertEqual(txs[0]['value'], '0.0')
|
||||||
|
|
Loading…
Reference in a new issue