aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/test_framework/wallet.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-15 17:39:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-21 19:26:49 +0000
commit18a2ed4518da8962ad30d0175ddeb7a6bc28c0f8 (patch)
tree7f4a2a8f66b7e9e78281d8b36913c78a161608dd /tests/functional_tests/test_framework/wallet.py
parentfunctional_tests: add wallet address/subaddress RPC tests (diff)
downloadmonero-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.py10
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)