'Check that the middleware does NOT process the provided request'

def check_not_enabled(self, request):

    with patch.object(CsrfViewMiddleware, 'process_view') as mock_method:
        res = self.middleware.process_view(request, None, None, None)
    self.assertIsNone(res)
    self.assertFalse(mock_method.called)
