'OpenID 1 requests MUST NOT be able to set anonymous to True'

def test_setAnonymousFailsForOpenID1(self):

    self.failUnless(self.authreq.message.isOpenID1())
    self.failUnlessRaises(ValueError, self.authreq.setAnonymous, True)
    self.authreq.setAnonymous(False)
