def METHOD_NAME(self):
    response = cookies_api.set_logged_in_cookies(self.request, HttpResponse(), self.user)
    self._assert_cookies_present(response, cookies_api.DEPRECATED_LOGGED_IN_COOKIE_NAMES)
    self._assert_consistent_expires(response)
    self._assert_recreate_jwt_from_cookies(response, can_recreate=False)