#NEWLINE# def test_post_comment( self ) : #NEWLINE# #INDENT# Comment = comments . get_model ( ) #NEWLINE# self . assertEqual ( Comment . objects . count ( ) , 0 ) #NEWLINE# comment = self . _post_comment ( ) #NEWLINE# self . assertEqual ( self . tree_path , str ( comment . pk ) . zfill ( PATH_DIGITS ) ) #NEWLINE# self . assertEqual ( Comment . objects . count ( ) , 1 ) #NEWLINE# self . assertEqual ( comment . last_child , None )