def test_setupNeededOpenID1(self):
        setup_url = 'http://unittest/setup-here'
        message = Message.fromPostArgs({
            'openid.mode': 'id_res',
            'openid.user_setup_url': setup_url,
            })
        self.failUnless(message.isOpenID1())
        self.failUnlessSetupNeeded(setup_url, message)
The minimum conditions necessary to trigger Setup Needed
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_consumer.py/TestSetupNeeded.test_setupNeededOpenID1