'If C{followRedirect} is passed a false value, L{client.getPage} does not
follow redirects and returns a L{Deferred} which fails with
L{error.PageRedirect} when it encounters one.'

def test_noFollowRedirect(self):

    d = self.assertFailure(client.getPage(self.getURL('redirect'), followRedirect=False), error.PageRedirect)
    d.addCallback(self._cbCheckLocation)
    return d
