'L{Agent} takes a C{connectTimeout} argument which is forwarded to the
following C{connectTCP} agent.'

def test_connectTimeout(self):

    agent = client.Agent(self.reactor, connectTimeout=5)
    agent.request('GET', 'http://foo/')
    timeout = self.reactor.tcpClients.pop()[3]
    self.assertEqual(5, timeout)
