Lines Matching refs:send_bytes
1612 conn.send_bytes(msg)
1633 self.assertEqual(conn.send_bytes(msg), None)
1639 self.assertEqual(conn.send_bytes(arr), None)
1646 self.assertEqual(conn.send_bytes(arr), None)
1652 self.assertEqual(conn.send_bytes(longmsg), None)
1677 conn.send_bytes(really_big_msg)
1680 conn.send_bytes(SENTINEL) # tell child to quit
1718 conn.send_bytes(msg)
1721 conn.send_bytes(SENTINEL)
1732 a.send_bytes(msg)
1735 a.send_bytes(msg, 5)
1738 a.send_bytes(msg, 7, 8)
1741 a.send_bytes(msg, 26)
1744 a.send_bytes(msg, 26, 0)
1747 self.assertRaises(ValueError, a.send_bytes, msg, 27)
1749 self.assertRaises(ValueError, a.send_bytes, msg, 22, 5)
1751 self.assertRaises(ValueError, a.send_bytes, msg, 26, 1)
1753 self.assertRaises(ValueError, a.send_bytes, msg, -1)
1755 self.assertRaises(ValueError, a.send_bytes, msg, 4, -1)
2446 def send_bytes(self, data): member in OtherTest.test_deliver_challenge_auth_failure._FakeConnection
2463 def send_bytes(self, data): member in OtherTest.test_answer_challenge_auth_failure._FakeConnection
2695 conn.send_bytes(b'x' * cls.CONN_MAX_SIZE)