#NEWLINE# def test_markdown_column( self ) : #NEWLINE# #INDENT# text = '# this is going to be h1.\n- Now a list. \n- 1\n- 2\n- 3' #NEWLINE# data = MarkdownData ( value = text ) #NEWLINE# self . session . add ( self ) #NEWLINE# self . session . commit ( ) #NEWLINE# self . assertEqual ( data . value . html , markdown ( text ) ) #NEWLINE# self . assertEqual ( data . value . text , text ) #NEWLINE# self . assertEqual ( data . value . __str__ ( ) , text ) #NEWLINE# self . assertEqual ( data . value . __unicode__ ( ) , text ) #NEWLINE# self . assertEqual ( data . value . __html__ ( ) , markdown ( text ) )