def test_followRedirect(self):
        """
        By default, L{client.getPage} follows redirects and returns the content
        of the target resource.
        """
        d = client.getPage(self.getURL("redirect"))
        d.addCallback(self.assertEqual, b"0123456789")
        return d

        By default, L{client.getPage} follows redirects and returns the content
        of the target resource.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_webclient.py