def testItalicContainsStars(self): raw = '*bar*' self.assertEquals('*\\*bar\\**', markdown.md_italic(raw))
def testItalic(self): raw = 'bar' self.assertEquals('*bar*', markdown.md_italic(raw))