'invalidate_handle with a handle that exists
From "Verifying directly with the OpenID Provider"::
If the OP responds with "is_valid" set to "true", and
"invalidate_handle" is present, the Relying Party SHOULD
NOT send further authentication requests with that handle.'

def test_invalidatePresent(self):

    self._createAssoc()
    response = Message.fromOpenIDArgs({'is_valid': 'true', 'invalidate_handle': 'handle'})
    r = self.consumer._processCheckAuthResponse(response, self.server_url)
    self.failUnless(r)
    self.failUnless((self.consumer.store.getAssociation(self.server_url) is None))
