def _doRespDisco(self, is_clean, exp_resp):
        self.discovery.createManager([self.endpoint], self.identity_url)
        auth_req = self.consumer.begin(self.identity_url)
        resp = self._doResp(auth_req, exp_resp)

        manager = self.discovery.getManager()
        if is_clean:
            self.failUnless(self.discovery.getManager() is None, manager)
        else:
            self.failIf(self.discovery.getManager() is None, manager)

        return resp

    # Cancel and success DO clean up the discovery process
Set up and execute a transaction, with discovery
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_consumer.py/ConsumerTest._doRespDisco