'Test connectTCP gets called with the address from the SRV record.'

def test_SRVPresent(self):

    payload = dns.Record_SRV(port=6269, target='host.example.org', ttl=60)
    client.theResolver.results = [dns.RRHeader(name='example.org', type=dns.SRV, cls=dns.IN, ttl=60, payload=payload)]
    self.connector.connect()
    self.assertIsNone(self.factory.reason)
    self.assertEqual(self.reactor.tcpClients.pop()[:2], ('host.example.org', 6269))
