def testLoginBegin(self):
        openid_consumer = MyConsumer()
        post = rf.post('/openid/', {
            'openid_url': 'http://simonwillison.net/'
        })
        post.session = MockSession()
        response = openid_consumer(post)
        self.assertEqual(response['Location'], 'http://url-of-openid-server/')
        oid_session = signed.loads(response.cookies['o_user_session'].value)
        self.assert_('openid_bits' in oid_session)
returns True if a cached value exists in this context.
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/tests/consumer_tests.py/ConsumerTest.testLoginBegin--crossover with--dataset/ETHPy150Open manahl/mdf/mdf/nodes.py/MDFNode.has_value