#NEWLINE# def test_defined_and_undefined_options( self , html ) : #NEWLINE# #INDENT# ( ext , flags ) = ( 0 , HTML_HARD_WRAP ) #NEWLINE# result = markdown ( TEST_MD , hard_wrap = True , stupid_hard_wrap = False ) #NEWLINE# html . assert_called_with ( TEST_MD , extensions = ext , render_flags = flags ) #NEWLINE# self . assertIsInstance ( result , Markup ) #NEWLINE# self . assertEqual ( result , misaka . html ( TEST_MD , extensions = ext , render_flags = flags ) )