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