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