def METHOD_NAME(self):
    """Inactive user login explicitly allowed."""
    request = RequestFactory().get("/foo")
    request.user = UserFactory(is_active=False)
    view = login_required(simple_view, only_active=False)
    response = view(request)
    self.assertEqual(200, response.status_code)