diff options
author | MarcoFalke <falke.marco@gmail.com> | 2016-05-22 11:37:42 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2016-06-17 13:31:31 +0200 |
commit | facb6c0bf8a6ef7081d763d9f33b446276a36635 (patch) | |
tree | 57729020c75758682aa107b163a2922f1b79f1e5 /qa | |
parent | 66db2d62d59817320c9182fc18e75a93b76828ea (diff) |
[qa] mininode: fail on send_message instead of silent return
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/rpc-tests/test_framework/mininode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/mininode.py b/qa/rpc-tests/test_framework/mininode.py index c0b59f3857..6612b99b84 100755 --- a/qa/rpc-tests/test_framework/mininode.py +++ b/qa/rpc-tests/test_framework/mininode.py @@ -1315,7 +1315,7 @@ class NodeConn(asyncore.dispatcher): def send_message(self, message, pushbuf=False): if self.state != "connected" and not pushbuf: - return + raise IOError('Not connected, no pushbuf') self.show_debug_msg("Send %s" % repr(message)) command = message.command data = message.serialize() |