Lines Matching refs:indata
2573 def server_params_test(client_context, server_context, indata=b"FOO\n", argument
2588 for arg in [indata, bytearray(indata), memoryview(indata)]:
2592 " client: sending %r...\n" % indata)
2598 if outdata != indata.lower():
2602 indata[:20].lower(), len(indata)))
3248 for indata in msgs:
3251 " client: sending %r...\n" % indata)
3253 conn.write(indata)
3256 s.send(indata)
3259 if indata == b"STARTTLS" and msg.startswith(b"ok"):
3267 elif indata == b"ENDTLS" and msg.startswith(b"ok"):
3321 indata = b"FOO\n"
3328 " client: sending %r...\n" % indata)
3329 s.write(indata)
3333 if outdata != indata.lower():
3337 indata[:20].lower(), len(indata)))
3392 indata = (data_prefix + meth_name).encode('ascii')
3394 ret = send_meth(indata, *args)
3396 self.assertEqual(ret, ret_val_meth(indata), msg=msg)
3398 if outdata != indata.lower():
3405 indata=indata[:20], nin=len(indata)
3423 indata = (data_prefix + meth_name).encode('ascii')
3425 s.send(indata)
3427 if outdata != indata.lower():
3434 indata=indata[:20], nin=len(indata)