bitcoin/test/functional/test_framework
MarcoFalke ff4cd6075b
Merge #11319: [qa] Fix error introduced into p2p-segwit.py, and prevent future similar errors
f97ab35fa qa: Fix bug introduced in p2p-segwit.py (Suhas Daftuar)
a7820422e qa: Treat mininode p2p exceptions as fatal (Suhas Daftuar)

Pull request description:

  #11121 inadvertently broke the constructor for the `TestNode()` object in `p2p-segwit.py`, silently breaking at least one of the tests.

  Although the python code was raising exceptions due to a `TestNode()` object not existing (or having the right type), mininode was masking these from anyone running the test through the test_runner (like travis), because it catches all exceptions during message delivery and just prints a log message and continues.  Such "graceful" handling of errors is almost certainly something we don't want in our test suite, so the first commit here attempts to prevent that type of failure from ever being masked.

  The second commit fixes the particular bug in `p2p-segwit.py`.

Tree-SHA512: b6646e3cb1e05c35c28e8899c44104bf2e2d0384643ca87042ab7f6ec0960d89f5bf25a7b95bab6e32d401c20a6018226160500f6ddceb923e81ffb04adb4f2f
2017-09-29 20:23:59 +02: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] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
bignum.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blockstore.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
blocktools.py Tests: Refactor to create witness script creation function 2017-04-20 11:28:45 -07:00
comptool.py qa: Move wait_until to util 2017-08-17 15:17:09 +02:00
coverage.py [tests] [wallet] Add wallet endpoint support to authproxy 2017-07-17 17:42:21 +02:00
key.py Rename rpc-tests directory to functional 2017-03-20 10:40:31 -04:00
mininode.py Merge #11319: [qa] Fix error introduced into p2p-segwit.py, and prevent future similar errors 2017-09-29 20:23:59 +02:00
netutil.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02:00
script.py Remove unused variables and/or function calls 2017-08-28 15:18:14 +02: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 Use the variable name _ for unused return values 2017-08-28 15:18:14 +02:00
test_framework.py [test] Add restart_node to BitcoinTestFramework 2017-09-20 15:38:09 +01:00
test_node.py [test] Replace check_output with low level version 2017-09-07 00:35:28 +01:00
util.py Merge #10552: [Test] Tests for zmqpubrawtx and zmqpubrawblock 2017-09-29 19:44:54 +02:00