#NEWLINE# def test_200_with_single_field( bunch_of_posts , client ) : #NEWLINE# #INDENT# response = client . get ( '/api/blog-posts/?fields[blog-posts]=title' ) . validate ( 200 ) #NEWLINE# for item in response . json_data [ 'data' ] : #NEWLINE# #INDENT# assert ( { 'title' } == set ( item [ 'attributes' ] . keys ( ) ) ) #NEWLINE# assert ( len ( response [ 'relationships' ] ) == 0 )