#NEWLINE# def _ensure_matching_entries_in( self , field , value ) : #NEWLINE# #INDENT# response = self . client . get ( reverse ( 'customer_permission-list' ) , data = { #NEWLINE# #INDENT# field : value , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( response . status_code , status . HTTP_200_OK ) #NEWLINE# for permission in response . data : #NEWLINE# #INDENT# self . assertEqual ( value , permission [ ( 'user_' + field ) ] )