def test_getClientAddress(self):
        """
        L{http.Request.getClientAddress} returns the client's address
        as an L{IAddress} provider.
        """
        client = address.UNIXAddress("/path/to/socket")
        request = http.Request(DummyChannel(peer=client))
        self.assertIs(request.getClientAddress(), client)

        L{http.Request.getClientAddress} returns the client's address
        as an L{IAddress} provider.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_http.py