'Check that login_required is assignable to callable objects.'

def testCallable(self):

    class CallableView(object, ):
        def __call__(self, *args, **kwargs):
            pass
    login_required(CallableView())
