Lines Matching refs:expect_success
2879 def try_protocol_combo(server_protocol, client_protocol, expect_success,
2883 If *expect_success* is true, assert that the connection succeeds,
2885 Also, if *expect_success* is a string, assert that it is the protocol
2896 formatstr = (expect_success and " %s->%s %s\n") or " {%s->%s} %s\n"
2940 if expect_success:
2943 if expect_success or e.errno != errno.ECONNRESET:
2946 if not expect_success:
2951 elif (expect_success is not True
2952 and expect_success != stats['version']):
2954 % (expect_success, stats['version']))
3654 for (meth_name, send_meth, expect_success, args,
3673 if expect_success:
3686 for meth_name, recv_meth, expect_success, args in recv_methods:
3702 if expect_success: