def test_can_filter_members_by_role(self):
        self.basic_login()
        cassette_name = self.cassette_name('members_roles')
        with self.recorder.use_cassette(cassette_name):
            t = self.get_team()
            for member in t.members(role='all'):
                assert isinstance(member, github3.users.User)
Test the ability to filter an team's members by role.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_orgs_team.py/TestTeam.test_can_filter_members_by_role