Lines Matching refs:send_bytes
1542 conn.send_bytes(msg)
1563 self.assertEqual(conn.send_bytes(msg), None)
1569 self.assertEqual(conn.send_bytes(arr), None)
1576 self.assertEqual(conn.send_bytes(arr), None)
1582 self.assertEqual(conn.send_bytes(longmsg), None)
1607 conn.send_bytes(really_big_msg)
1610 conn.send_bytes(SENTINEL) # tell child to quit
1648 conn.send_bytes(msg)
1651 conn.send_bytes(SENTINEL)
1662 a.send_bytes(msg)
1665 a.send_bytes(msg, 5)
1668 a.send_bytes(msg, 7, 8)
1671 a.send_bytes(msg, 26)
1674 a.send_bytes(msg, 26, 0)
1677 self.assertRaises(ValueError, a.send_bytes, msg, 27)
1679 self.assertRaises(ValueError, a.send_bytes, msg, 22, 5)
1681 self.assertRaises(ValueError, a.send_bytes, msg, 26, 1)
1683 self.assertRaises(ValueError, a.send_bytes, msg, -1)
1685 self.assertRaises(ValueError, a.send_bytes, msg, 4, -1)
2315 def send_bytes(self, data): member in OtherTest.test_deliver_challenge_auth_failure._FakeConnection
2332 def send_bytes(self, data): member in OtherTest.test_answer_challenge_auth_failure._FakeConnection
2561 conn.send_bytes(b'x'*(1024*1024)) # sending 1 MB should block