def testView(self):
        def normal_view(request):
            pass
        login_required(normal_view)
Check that login_required is assignable to normal views.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/contrib/auth/tests/decorators.py/LoginRequiredTestCase.testView