#NEWLINE# def test_call_with_text( self ) : #NEWLINE# #INDENT# result = richtext ( 'Hello world!' ) #NEWLINE# self . assertEqual ( self , '<div class="rich-text">Hello world!</div>' ) #NEWLINE# self . assertIsInstance ( result , SafeText )