def test_b_multiple_in_a_line(self): p = convert.bold("*blah* space nothing *quiver* strange") self.assertEqual("<b>blah</b> space nothing <b>quiver</b> strange", p)
def test_b_with_p(self): p = convert.bold("p: nope *blah* and *quiver*") p = convert.p(p) self.assertEqual("<p>nope <b>blah</b> and <b>quiver</b></p>", p)
def test_b(self): p = convert.bold("* blah quiver *") self.assertEqual("<b> blah quiver </b>", p)