'When passed a short byte string, :py:obj:`Connection.send` transmits all of it
and returns the number of bytes sent.'

def test_short_bytes(self):

    (server, client) = self._loopback()
    count = server.send(b('xy'))
    self.assertEquals(count, 2)
    self.assertEquals(client.recv(2), b('xy'))
