def test_custom_templates():
    configure(jshost='https://chfw.github.io/jupyter-echarts/echarts', force_js_embed=False)
    page = create_three()
    page.render(path='new_version_page.html')
    with codecs.open('new_version_page.html', 'r', 'utf-8') as f:
        actual_content = f.read()
        assert ('</html>' in actual_content)
def test_custom_templates():
    configure(jshost='https://chfw.github.io/jupyter-echarts/echarts', force_js_embed=False)
    page = create_three()
    page.render(path='new_version_page.html')
    with codecs.open('new_version_page.html', 'r', 'utf-8') as f:
        actual_content = f.read()
        assert ('</html>' in actual_content)