diff options
| author | MarcoFalke <[email protected]> | 2015-11-15 20:41:48 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-03-19 19:07:08 +0100 |
| commit | fab3890156c849e6b04309152d7a9bfcfcb98396 (patch) | |
| tree | 6cf00c0c901bcb234d7f665ada028cce39d2199a /qa/rpc-tests/wallet.py | |
| parent | Merge #7702: [qa] Add tests verifychain, lockunspent, getbalance, listsinceblock (diff) | |
| download | discoin-fab3890156c849e6b04309152d7a9bfcfcb98396.tar.xz discoin-fab3890156c849e6b04309152d7a9bfcfcb98396.zip | |
[qa] rpc-test: Normalize assert()
Diffstat (limited to 'qa/rpc-tests/wallet.py')
| -rwxr-xr-x | qa/rpc-tests/wallet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/wallet.py b/qa/rpc-tests/wallet.py index e52d4e766..f686e6be6 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() |