#NEWLINE# def test_node_files_are_filterable_by_kind( self ) : #NEWLINE# #INDENT# url = '/{}nodes/{}/files/github/?filter[kind]=folder' . format ( API_BASE , self . project . _id ) #NEWLINE# res = self . app . get ( url , auth = self . user . auth ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_equal ( len ( res . json [ 'data' ] ) , 1 ) #NEWLINE# assert_equal ( res . json [ 'data' ] [ 0 ] [ 'attributes' ] [ 'name' ] , 'abc' )