Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 def test_b(self):
     p = convert.bold("* blah quiver *")
     self.assertEqual("<b> blah quiver </b>", p)