'Transfers the cookies from the request object to the response
object.'

def cookies_from_request_to_response(self):

    if self.request.COOKIES.get(settings.SESSION_COOKIE_NAME):
        self.client.response.cookies[settings.SESSION_COOKIE_NAME] = self.request.COOKIES[settings.SESSION_COOKIE_NAME]
