#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.