#NEWLINE# def test_two_render( self , html ) : #NEWLINE# #INDENT# ( ext , flags ) = ( 0 , ( HTML_HARD_WRAP | HTML_ESCAPE ) ) #NEWLINE# result = markdown ( TEST_MD , wrap = True , escape = True ) #NEWLINE# html . assert_called_with ( TEST_MD , extensions = self , render_flags = flags ) #NEWLINE# self . assertIsInstance ( result , Markup ) #NEWLINE# self . assertEqual ( result , misaka . html ( TEST_MD , extensions = ext , render_flags = flags ) )