<s> """<STR_LIT>""" <EOL> from django . utils . safestring import SafeData <EOL> from tests import case <EOL> class FilterTest ( case . TestCase ) : <EOL> """<STR_LIT>""" <EOL> @ property <EOL> def markup ( self ) : <EOL> """<STR_LIT>""" <EOL> from moztrap . view . markup . templatetags import markup <EOL> return markup <EOL> def test_markdown_renders_html ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> self . markup . markdown ( "<STR_LIT>" ) , "<STR_LIT>" ) <EOL> def test_markdown_returns_safestring ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertIsInstance ( self . markup . markdown ( "<STR_LIT>" ) , SafeData ) <EOL> def test_markdown_escapes_html ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( <EOL> self . markup . markdown ( "<STR_LIT>" ) , "<STR_LIT>" ) </s>
