def testLoginNext(self):
        openid_consumer = MyConsumer()
        openid_consumer.set_mock_response(
            status = janrain_consumer.SUCCESS,
            identity_url = 'http://simonwillison.net/',
        )
        get = rf.get('/openid/complete/', {
            'openid-args': 'go-here',
            'next': openid_consumer.sign_next('/foo/')
        })
        get.session = MockSession()
        response = openid_consumer(get, 'complete/')
        self.assertEqual(response['Location'], '/foo/')
?next=<signed> causes final redirect to go there instead
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/tests/consumer_tests.py/ConsumerTest.testLoginNext