aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/wallet.py
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-21 12:45:41 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-21 12:47:19 +0100
commit3b4324b1edd7b52bbc0e1f350ab04bc41f343f2e (patch)
treeb0fcce568f9b20eb5a97ec3e878d479dc77dd819 /qa/rpc-tests/wallet.py
parent9426632cb58d0fc4c63c3c6d0c83fd62e525bd28 (diff)
parentfab3890156c849e6b04309152d7a9bfcfcb98396 (diff)
Merge #7720: [qa] rpc-test: Normalize assert()
fab3890 [qa] rpc-test: Normalize assert() (MarcoFalke)
Diffstat (limited to 'qa/rpc-tests/wallet.py')
-rwxr-xr-xqa/rpc-tests/wallet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/wallet.py b/qa/rpc-tests/wallet.py
index e52d4e7668..f686e6be6c 100755
--- a/qa/rpc-tests/wallet.py
+++ b/qa/rpc-tests/wallet.py
@@ -252,7 +252,7 @@ class WalletTest (BitcoinTestFramework):
except JSONRPCException,e:
errorString = e.error['message']
- assert_equal("Invalid amount" in errorString, True)
+ assert("Invalid amount" in errorString)
errorString = ""
try:
@@ -260,7 +260,7 @@ class WalletTest (BitcoinTestFramework):
except JSONRPCException,e:
errorString = e.error['message']
- assert_equal("not an integer" in errorString, True)
+ assert("not an integer" in errorString)
#check if wallet or blochchain maintenance changes the balance
self.sync_all()