'Add handouts to the course info page.'

def _install_course_handouts(self):

    url = ((STUDIO_BASE_URL + '/xblock/') + self._handouts_loc)
    handouts_li = ['<li><a    href="/static/{handout}">Example    Handout</a></li>'.format(handout=handout) for handout in self._handouts]
    handouts_html = '<ol    class="treeview-handoutsnav">{}</ol>'.format(''.join(handouts_li))
    payload = json.dumps({'children': None, 'data': handouts_html, 'id': self._handouts_loc, 'metadata': dict()})
    response = self.session.post(url, data=payload, headers=self.headers)
    if (not response.ok):
        raise FixtureError('Could    not    update    course    handouts    with    {0}.        Status    was    {1}'.format(url, response.status_code))
