'Return a rendering of the XBlock.
We should include data, but with a selector dropping
the rest of the HTML around the block.'

def render_block(self, block_urlname):

    section = self._containing_section(block_urlname)
    html_response = collections.namedtuple('HtmlResponse', ['status_code', 'content', 'debug'])
    url = self.scenario_urls[section]
    response = self.client.get(url)
    html_response.status_code = response.status_code
    response_content = response.content.decode('utf-8')
    html_response.content = self.extract_block_html(response_content, block_urlname)
    html_response.debug = {'url': url, 'section': section, 'block_urlname': block_urlname}
    return html_response
