aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/wallet.py
AgeCommit message (Collapse)Author
2017-03-20Rename qa directory to testJohn Newbery
2017-03-15Fix RPC failure testing (2 of 2)John Newbery
Commit 9db8eecac1c713c760c0217b6acb7455c657fa8b improved the assert_raises_jsonrpc() function for better testing of RPC failure modes. This commit completes the job by removing remaining broken try-except RPC testing from the individual test cases and replacing it with calls to assert_raises_jsonrpc().
2017-03-09Use logging in individual testsJohn Newbery
2017-02-23Fix docstrings in qa testsJohn Newbery
This commit fixes the module-level docstrings for the tests and helper modules in qa. Many of these tests were uncommented previously - this commit ensures that every test case has at least a minimum level of commenting.
2017-01-13Remove unused Python variablespracticalswift
2017-01-04add test for -walletrejectlongchainsAlex Morcos
2016-12-13Test for fix of txn chaining in walletGregory Sanders
2016-11-15[qa] add assert_raises_message to check specific error messagemrbandrews
2016-10-02[qa] util: Move wait_bitcoinds() into stop_nodes()MarcoFalke
2016-09-14[qa] wallet: Check legacy wallet as wellMarcoFalke
2016-06-16Merge #7892: Add full UTF-8 support to RPCWladimir J. van der Laan
7982fce doc: Mention full UTF-8 support in release notes (Wladimir J. van der Laan) 6bbb4ef test: test utf-8 for labels in wallet (Wladimir J. van der Laan) a406fcb test: add ensure_ascii setting to AuthServiceProxy (Wladimir J. van der Laan) 60ab9b2 Squashed 'src/univalue/' changes from 2740c4f..f32df99 (Wladimir J. van der Laan)
2016-06-13[qa] util: Move check_fee_amount out of wallet.pyMarcoFalke
2016-06-10test: test utf-8 for labels in walletWladimir J. van der Laan
2016-05-20Merge #8056: [qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
fad68f7 [qa] Reduce node count for some tests (MarcoFalke) fac9349 [qa] Remove hardcoded "4 nodes" from test_framework (MarcoFalke)
2016-05-15[qa] Remove hardcoded "4 nodes" from test_frameworkMarcoFalke
2016-05-10[qa] wallet: Temporarily disable salvagewallet testMarcoFalke
2016-05-05[qa] Switch to py3MarcoFalke
2016-04-19Add test to check spendable and unspendable UTXO on RPC listunspentJoao Fonseca
2016-04-03[qa] Remove misleading "errorString syntax"MarcoFalke
2016-03-31[qa] Use python2/3 syntaxMarcoFalke
2016-03-28[qa] wallet: Wait for reindex to catch upMarcoFalke
2016-03-21RPC tests for generatetoaddressAndrew C
Adds two RPC tests for the generatetoaddress RPC, one in the wallet, and one when the wallet is disabled. The wallet RPC Test mines Bitcoin to another node's address and checks that that node has received the Bitcoin. The RPC test without the wallet mines Bitcoin to an arbitrary address and checks that it works. It then mines to an arbitrary invalid address and checks that that fails.
2016-03-19[qa] rpc-test: Normalize assert()MarcoFalke
2016-03-17[qa] Add tests verifychain, lockunspent, getbalance, listsinceblockMarcoFalke
2016-03-14[qa] wallet: speed up testsMarcoFalke
2016-01-20[qa] Change default block priority size to 0MarcoFalke
2016-01-18[qa] wallet: Print maintenanceMarcoFalke
2016-01-13[qa] Fix pyton syntax in rpc testsMarcoFalke
2016-01-07Merge pull request #7229Wladimir J. van der Laan
fa33d97 [walletdb] Add missing LOCK() in Recover() for dummyWallet (MarcoFalke) fa14d99 [qa] check if wallet or blochchain maintenance changes the balance (MarcoFalke) fa0765d [qa] Cleanup wallet.py test (MarcoFalke)
2015-12-18[qa] check if wallet or blochchain maintenance changes the balanceMarcoFalke
2015-12-18[qa] Cleanup wallet.py testMarcoFalke
* Remove outdated comment * Remove unneeded 0s * Remove semicolons
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-11-28[wallet] Add rpc tests to verify fee calculationsMarcoFalke
2015-07-27[QA] add testcases for parsing strings as valuesJonas Schnelli
2015-05-18[QA] restructure rpc tests directoryJonas Schnelli
* move non-test classes to subdir `test-framework`
2015-05-01Bugfix: Grammar fixesCorinne Dashjr
2015-04-21add rpc test for listunspents support for zero value txoutsJonas Schnelli
2015-04-09Fix travis after merging #5957Wladimir J. van der Laan
New wallet tests have been added in the meantime and need to be updated to use `generate` instead of `setgenerate`.
2015-04-09Merge pull request #5957Wladimir J. van der Laan
e2edf95 Bugfix: make CreateNewBlock return pindexPrev (Pieter Wuille) 6b04508 Introduce separate 'generate' RPC call (Pieter Wuille) 0df67f1 Simplify hash loop code (Pieter Wuille)
2015-04-01Introduce separate 'generate' RPC callPieter Wuille
2015-04-01add -walletbroadcast=0 rpc testJonas Schnelli
2015-03-24Regression test for ResendWalletTransactionsGavin Andresen
Adds a regression test for the wallet's ResendWalletTransactions function, which uses a new, hidden RPC command "resendwallettransactions." I refactored main's Broadcast signal so it is passed the best-block time, which let me remove a global variable shared between main.cpp and the wallet (nTimeBestReceived). I also manually tested the "rebroadcast unconfirmed every half hour or so" functionality by: 1. Running bitcoind -connect=0.0.0.0:8333 2. Creating a couple of send-to-self transactions 3. Connect to a peer using -addnode 4. Waited a while, monitoring debug.log, until I see: ```2015-03-23 18:48:10 ResendWalletTransactions: rebroadcast 2 unconfirmed transactions``` One last change: don't bother putting ResendWalletTransactions messages in debug.log unless unconfirmed transactions were actually rebroadcast.
2015-03-13qa/rpc-tests/wallet: Tests for sendmanyLuke Dashjr
2015-03-13Subtract fee from amountCozz Lovan
Fixes #2724 and #1570. Adds the automatically-subtract-the-fee-from-the-amount-and-send-whats-left feature to the GUI and RPC (sendtoaddress,sendmany).
2015-01-31Changed pronouns for correctness and inclusivitybikinibabe
2014-12-25RPC test for immature balanceJonas Schnelli
2014-12-16Remove references to X11 licenceMichael Ford
2014-11-27Fix python usage for arch's broken maintainersMatt Corallo
2014-11-20Port of wallet.sh to python (wallet.py).mrbandrews
Also included are minor edits to util.py to create a clean blockchain and add a parameter to gather_inputs to specify number of confirmations.