def testBadMethod(self):
        openid_consumer = MyConsumer()
        get = rf.get('/openid/foo/')
        self.assertRaises(Http404, openid_consumer, get, 'foo/')
Non existent methods should result in a 404
dataset/ETHPy150Open amarandon/smeuhsocial/apps/django_openid/tests/consumer_tests.py/ConsumerTest.testBadMethod