'Make sure session_type is required in OpenID 2'

def test_missingSessionTypeOpenID2(self):

    msg = Message.fromPostArgs({'openid.ns': OPENID2_NS})
    self.assertRaises(server.ProtocolError, server.AssociateRequest.fromMessage, msg)
