Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/l/a/lamson-1.3.4/tests/lamson_tests/html_tests.py   lamson(Download)
def test_HtmlMail_render():
    title = "render Test"
    hs = html.HtmlMail("style.css", "html_test.html")
 
    lame = hs.render(locals(), "content.markdown")
    assert lame
 
    pretty = hs.render(locals(), "content.markdown", pretty=True)

src/l/a/lamson-HEAD/tests/lamson_tests/html_tests.py   lamson(Download)
def test_HtmlMail_render():
    title = "render Test"
    hs = html.HtmlMail("style.css", "html_test.html")
 
    lame = hs.render(locals(), "content.markdown")
    assert lame
 
    pretty = hs.render(locals(), "content.markdown", pretty=True)