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)
Make sure that an OpenID 2 request which lacks return_to
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_server.py/TestDecode.test_checkidSetupRealmRequiredOpenID2