#NEWLINE# def test_can_filter_members_by_role( self ) : #NEWLINE# #INDENT# "Test the ability to filter an team's members by role." #NEWLINE# self . basic_login ( ) #NEWLINE# cassette_name = self . cassette_name ( 'members_roles' ) #NEWLINE# with self . recorder . use_cassette ( cassette_name ) : #NEWLINE# #INDENT# t = self . get_team ( ) #NEWLINE# for member in t . members ( role = 'all' ) : #NEWLINE# #INDENT# assert isinstance ( t , github3 . users . User )