def testLoginDiscoverFail(self):
        openid_consumer = MyDiscoverFailConsumer()
        post = rf.post('/openid/', {
            'openid_url': 'not-an-openid'
        })
        post.session = MockSession()
        response = openid_consumer(post)
        self.assert_(openid_consumer.openid_invalid_message in str(response))
E.g. the user enters an invalid URL
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/tests/consumer_tests.py/ConsumerTest.testLoginDiscoverFail