[tests] TestNode: separate add_node from start_node
commit36b626867087e9fae6d85f926248997ebff327b7
authorJohn Newbery <john@johnnewbery.com>
Fri, 9 Jun 2017 20:35:17 +0000 (9 16:35 -0400)
committerJohn Newbery <john@johnnewbery.com>
Fri, 1 Sep 2017 16:25:54 +0000 (1 12:25 -0400)
treeecf522bb82c52e8c9c58bcd7839d550e71684ca4
parentbe2a2ab6a67beef97e3c3cf42bd5eeea6c4e55cf
[tests] TestNode: separate add_node from start_node

Separates the act of creating a TestNode object from starting the node.
The test_framework now keeps track of its list of TestNodes, and test
writers can call start_node() and stop_node() without having to update
the self.nodes list.
36 files changed:
test/functional/abandonconflict.py
test/functional/assumevalid.py
test/functional/bip9-softforks.py
test/functional/blockchain.py
test/functional/bumpfee.py
test/functional/create_cache.py
test/functional/dbcrash.py
test/functional/disconnect_ban.py
test/functional/forknotify.py
test/functional/fundrawtransaction.py
test/functional/import-rescan.py
test/functional/importmulti.py
test/functional/keypool-topup.py
test/functional/keypool.py
test/functional/listtransactions.py
test/functional/maxuploadtarget.py
test/functional/mempool_persist.py
test/functional/multiwallet.py
test/functional/p2p-segwit.py
test/functional/p2p-versionbits-warning.py
test/functional/proxy_test.py
test/functional/pruning.py
test/functional/receivedby.py
test/functional/reindex.py
test/functional/resendwallettransactions.py
test/functional/rpcbind_test.py
test/functional/smartfees.py
test/functional/test_framework/test_framework.py
test/functional/test_framework/test_node.py
test/functional/wallet-dump.py
test/functional/wallet-encryption.py
test/functional/wallet-hd.py
test/functional/wallet.py
test/functional/walletbackup.py
test/functional/zapwallettxes.py
test/functional/zmq_test.py