def METHOD_NAME(self):
    """
    Test that HTML gets converted to use CDATA and static assets are
    handled.
    """
    CourseStaffRole(self.course.id).add_users(self.user)
    block_id = str(self.course.id.make_usage_key('html', 'just_img'))
    response = self.get_olx_response_for_block(block_id)
    assert response.status_code == 200
    assert response.json()['root_block_id'] == block_id
    block_data = response.json()['blocks'][block_id]
    self.assertXmlEqual(
        block_data['olx'],
        '''
        <html display_name="Text"><![CDATA[
            <img src="/static/foo_bar.jpg" />
        ]]></html>
        '''
    )
    assert 'static_files' in block_data
    assert 'foo_bar.jpg' in block_data['static_files']
    url = block_data['static_files']['foo_bar.jpg']['url']
    assert url == 'http://testserver/asset-v1:edX+toy+2012_Fall+type@asset+block@foo_bar.jpg'