#NEWLINE# def test_returns_folder_data( self ) : #NEWLINE# #INDENT# fobj = self . project . get_addon ( 'osfstorage' ) . get_root ( ) . append_folder ( 'NewFolder' ) #NEWLINE# fobj . save ( ) #NEWLINE# res = self . app . get ( '{}osfstorage/{}/' . format ( self . private_url , fobj . _id ) , auth = fobj . user . auth ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_equal ( len ( res . json [ 'data' ] ) , 0 ) #NEWLINE# assert_equal ( res . content_type , 'application/vnd.api+json' )