예제 #1
0
파일: test.py 프로젝트: jubic/RP-Misc
 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)
예제 #2
0
파일: test.py 프로젝트: jubic/RP-Misc
 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)
예제 #3
0
파일: test.py 프로젝트: jubic/RP-Misc
 def test_b(self):
     p = convert.bold("* blah quiver *")
     self.assertEqual("<b> blah quiver </b>", p)