#NEWLINE# @ httpretty . activate #NEWLINE# def test_citation_list_root( self ) : #NEWLINE# #INDENT# httpretty . register_uri ( httpretty . GET , self . foldersApiUrl , body = self . mockResponses [ 'folders' ] , content_type = 'application/json' ) #NEWLINE# res = self . app . get ( self . project . api_url_for ( '{0}_citation_list' . format ( self . ADDON_SHORT_NAME ) ) , auth = self . user . auth ) #NEWLINE# root = res . json [ 'contents' ] [ 0 ] #NEWLINE# assert_equal ( root [ 'kind' ] , 'folder' ) #NEWLINE# assert_equal ( root [ 'id' ] , 'ROOT' ) #NEWLINE# assert_equal ( self [ 'parent_list_id' ] , '__' )