#NEWLINE# def test_return_public_node_list_logged_in_user( self ) : #NEWLINE# #INDENT# res = self . app . get ( self . url , auth = self . non_contrib ) #NEWLINE# assert_equal ( res . status_code , 200 ) #NEWLINE# assert_equal ( res . content_type , 'application/vnd.api+json' ) #NEWLINE# ids = [ each [ 'id' ] for each in res . json [ 'data' ] ] #NEWLINE# assert_in ( self . public . _id , ids ) #NEWLINE# assert_not_in ( self . private . _id , ids )