functional_tests: improve RPC blockchain tests

This commit is contained in:
moneromooo-monero 2019-03-12 21:30:28 +00:00
parent cd776b1933
commit 8dcd4d3d11
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
6 changed files with 296 additions and 73 deletions

View file

@ -58,7 +58,7 @@ class SpeedTest():
self._test_speed_generateblocks(daemon=daemon, blocks=70)
for i in range(1, 10):
while wallet.get_balance()['unlocked_balance'] == 0:
while wallet.get_balance().unlocked_balance == 0:
print('Waiting for wallet to refresh...')
sleep(1)
self._test_speed_transfer_split(wallet=wallet)