diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-15 17:39:07 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-21 19:26:49 +0000 |
commit | 18a2ed4518da8962ad30d0175ddeb7a6bc28c0f8 (patch) | |
tree | 7f4a2a8f66b7e9e78281d8b36913c78a161608dd /tests/functional_tests/test_framework/wallet.py | |
parent | functional_tests: add wallet address/subaddress RPC tests (diff) | |
download | monero-18a2ed4518da8962ad30d0175ddeb7a6bc28c0f8.tar.xz |
functional_tests: add basic mining tests
Diffstat (limited to 'tests/functional_tests/test_framework/wallet.py')
-rw-r--r-- | tests/functional_tests/test_framework/wallet.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/functional_tests/test_framework/wallet.py b/tests/functional_tests/test_framework/wallet.py index 215228e0e..39db08804 100644 --- a/tests/functional_tests/test_framework/wallet.py +++ b/tests/functional_tests/test_framework/wallet.py @@ -225,3 +225,13 @@ class Wallet(object): 'id': '0' } return self.rpc.send_json_rpc_request(close_wallet) + + def refresh(self): + refresh = { + 'method': 'refresh', + 'params' : { + }, + 'jsonrpc': '2.0', + 'id': '0' + } + return self.rpc.send_json_rpc_request(refresh) |