#NEWLINE# def test_content_saved_on_attribute_set( self ) : #NEWLINE# #INDENT# page = Page ( path = 'test.rst' ) #NEWLINE# page . raw = rst #NEWLINE# path = os . path . join ( settings . WALIKI_DATA_DIR , 'test.rst' ) #NEWLINE# self . assertEqual ( page . abspath , path ) #NEWLINE# self . assertTrue ( os . path . exists ( path ) ) #NEWLINE# content = open ( path ) . read ( ) #NEWLINE# self . assertEqual ( content , rst )