'Make sure that an OpenID 2 request which lacks return_to
cannot be decoded if it lacks a realm.  Spec: This value
(openid.realm) MUST be sent if openid.return_to is omitted.'

def test_checkidSetupRealmRequiredOpenID2(self):

    args = {'openid.ns': OPENID2_NS, 'openid.mode': 'checkid_setup', 'openid.identity': self.id_url, 'openid.assoc_handle': self.assoc_handle}
    self.failUnlessRaises(server.ProtocolError, self.decode, args)
