'use consumer-generated nonce'

def test_openid1Success(self):

    nonce_value = mkNonce()
    self.return_to = ('http://rt.unittest/?nonce=%s' % (nonce_value,))
    self.response = Message.fromOpenIDArgs({'return_to': self.return_to})
    self.response.setArg(BARE_NS, 'nonce', nonce_value)
    self.consumer._idResCheckNonce(self.response, self.endpoint)
    self.failUnlessLogEmpty()
