def test_successDifferentURL(self):
        # Set up a request endpoint describing an IDP URL
        self.identity_url = 'http://idp.url/'
        self.endpoint.claimed_id = self.endpoint.local_id = IDENTIFIER_SELECT

        # Use a response endpoint with a different URL (asserted by
        # the IDP)
        resp_endpoint = OpenIDServiceEndpoint()
        resp_endpoint.claimed_id = "http://user.url/"

        resp = self._doRespDisco(
            True,
            mkSuccess(resp_endpoint, {}))
        self.failUnless(self.discovery.getManager(force=True) is None)
Be sure that the session gets cleaned up when the response is
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_consumer.py/ConsumerTest.test_successDifferentURL