def test_bindAddressSSL(self):
        """
        L{Agent} takes a C{bindAddress} argument which is forwarded to the
        following C{connectSSL} call.
        """
        agent = client.Agent(self.reactor, bindAddress='192.168.0.1')
        agent.request(b'GET', b'https://foo/')
        address = self.reactor.tcpClients.pop()[4]
        self.assertEqual('192.168.0.1', address)

        L{Agent} takes a C{bindAddress} argument which is forwarded to the
        following C{connectSSL} call.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_agent.py