BTCP-Rebase/test/functional/test_framework
MarcoFalke 9f2c2dba21
Merge #11712: [tests] Split NodeConn from NodeConnCB
e9dfa9bcc [tests] Move version message sending from NodeConn to NodeConnCB (John Newbery)
dad596fc3 [tests] Make NodeConnCB a subclass of NodeConn (John Newbery)
e30d40438 [tests] Move only: move NodeConnCB below NodeConn (John Newbery)
4d5059856 [tests] Tidy up mininode (John Newbery)
f2ae6f32a [tests] Remove mininode periodic (half-hour) ping messages (John Newbery)
ec59523c5 [tests] Remove rpc property from TestNode in p2p-segwit.py. (John Newbery)

Pull request description:

  This is the final step in #11518, except for possibly renaming - for motivation, please see that PR.

  If this is merged, then migrating the test framework from asyncore to asyncio should be easier (I say should because I haven't dug too deeply into what would be required).

  Requesting review from @ryanofsky , since he always has good feedback on these refactor PRs, and I'd appreciate his take on this refactor. Note particularly that I've reverted the change suggested here: https://github.com/bitcoin/bitcoin/pull/11182#discussion_r148859555 . The idea, as always, is to present a simple interface to the test writer.

Tree-SHA512: 94dd467a13ec799b101108cf47d4dccb6f6240b601e375e3d785313333bbb389c26072a50759aca663bbf3d6c8b867b99e36ae8800ab8ea115e0496c151926ce
2017-11-29 16:29:19 -05:00
..
__init__.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
address.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
authproxy.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Have SegWit active by default 2017-11-06 19:29:20 -08:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py [tests] Make NodeConnCB a subclass of NodeConn 2017-11-28 12:44:16 -05:00
coverage.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
key.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
messages.py tests: Remove unused mininode functions deser_int_vector(f) and ser_int_vector(l) 2017-11-17 15:35:15 +01:00
mininode.py [tests] Move version message sending from NodeConn to NodeConnCB 2017-11-28 12:47:02 -05:00
netutil.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
script.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
segwit_addr.py Use BIP173 addresses in segwit.py test 2017-09-28 17:29:01 -07:00
siphash.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
socks5.py [tests] Don't subclass from object for Python 3 2017-10-16 21:46:23 -04:00
test_framework.py Create walletdir if datadir doesn't exist and fix tests 2017-11-18 00:50:59 +13:00
test_node.py [tests] Make NodeConnCB a subclass of NodeConn 2017-11-28 12:44:16 -05:00
util.py scripted-diff: rename assert_raises_jsonrpc to assert_raises_rpc error 2017-10-05 09:57:19 -04:00