def checkSafing12(self): self.assertEqual(preppy.uStdQuote(preppy.SafeString(u'<A>')), u'<A>')
def bb2rml(text): return preppy.SafeString( xhtml2rml(cleanBlocks(bbcode.render_html(text)), ulStyle="normal_ul", olStyle="normal_ol"))
def checkSafing10(self): self.assertEqual(preppy.bStdQuote(preppy.SafeString(u'<A>')), b'<A>')
def checkSafing6(self): self.assertEqual( preppy.SafeString(u'<A>').__class__.__name__, 'SafeUnicode')
def checkSafing5(self): self.assertEqual( preppy.SafeString(b'<A>').__class__.__name__, 'SafeString')
def checkSafing2(self): self.assertEqual(preppy.SafeString(u'<A>'), u'<A>')
def checkSafing1(self): self.assertEqual(preppy.SafeString(b'<A>'), b'<A>')