'Tests that values provided by course authors are passed through to render.'

def test_rendering_provided_values(self):

    xml_str = '\n                                <jsinput    id="prob_1_2"\n                                                gradefn="WebGLDemo.getGrade"    get_statefn="WebGLDemo.getState"    set_statefn="WebGLDemo.setState"\n                                                initial_state=\'{"selectedObjects":{"cube":true,"cylinder":false}}\'\n                                                width="1000"    height="1200"\n                                                html_file="https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html"\n                                                sop="false"    title="Awesome    and    fun!"\n                                />\n                                '
    expected = {'html_file': 'https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html', 'gradefn': 'WebGLDemo.getGrade', 'get_statefn': 'WebGLDemo.getState', 'set_statefn': 'WebGLDemo.setState', 'initial_state': '{"selectedObjects":{"cube":true,"cylinder":false}}', 'width': '1000', 'height': '1200', 'title': 'Awesome    and    fun!', 'sop': 'false'}
    self._render_context_test(xml_str, expected)
