def test_latex_to_html(): img = latextools.latex_to_html("$x^2$") nt.assert_in("data:image/png;base64,iVBOR", img)
def test_latex_to_html(): img = latextools.latex_to_html("$x^2$") assert "data:image/png;base64,iVBOR" in img