import mistletoe from renderer.fifty_ohm_html_renderer import FiftyOhmHtmlRenderer from test.util import paragraph def test_underline_html() : assertions = { "Text" : "Text", " Text Text " : " Text Text ", " Text *Text* " : " Text Text ", } for assertion in assertions: assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])