'Be sure that the session gets cleaned up when the response is
successful and has a different URL than the one in the
request.'

def test_successDifferentURL(self):

    self.identity_url = 'http://idp.url/'
    self.endpoint.claimed_id = self.endpoint.local_id = IDENTIFIER_SELECT
    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))
