Skip to content

Commit

Permalink
fix(pytest): fix rpc_tx_submission.py (#10219)
Browse files Browse the repository at this point in the history
#9596 removed an RPC Method and
altered this test, but the previous version of the test sends 3 transfer
txs with amounts 100, 101 and 102, and now the test only sends 2
transfer txs with amounts 100 and 101. So update the expected balance
changes to reflect that
  • Loading branch information
marcelo-gonzalez authored Nov 20, 2023
1 parent 8fcd63c commit 5fb7cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytest/tests/sanity/rpc_tx_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
int(nodes[0].get_account("test%s" % x)['result']['amount']) for x in [0, 1]
]
logger.info(f"BALANCES AFTER {new_balances}")
assert new_balances[0] == old_balances[0] - 303
assert new_balances[1] == old_balances[1] + 303
assert new_balances[0] == old_balances[0] - 201
assert new_balances[1] == old_balances[1] + 201

status = nodes[0].get_status()
hash_ = status['sync_info']['latest_block_hash']
Expand Down

0 comments on commit 5fb7cd2

Please sign in to comment.