'Ignore openid.realm in OpenID 1'

def test_trustRootOpenID1(self):

    msg = Message(OPENID1_NS)
    msg.setArg(OPENID_NS, 'mode', 'checkid_setup')
    msg.setArg(OPENID_NS, 'trust_root', 'http://real_trust_root/')
    msg.setArg(OPENID_NS, 'realm', 'http://fake_trust_root/')
    msg.setArg(OPENID_NS, 'return_to', 'http://real_trust_root/foo')
    msg.setArg(OPENID_NS, 'assoc_handle', 'bogus')
    msg.setArg(OPENID_NS, 'identity', 'george')
    result = server.CheckIDRequest.fromMessage(msg, self.server.op_endpoint)
    self.failUnless((result.trust_root == 'http://real_trust_root/'))
