def METHOD_NAME(self, url, *args, **kwargs):
    factory = APIRequestFactory()
    request = factory.get(url, *args, **kwargs)
    request.user = self.user
    force_authenticate(request, user=self.user)
    return request