def test_edit(self):
        cassette_name = self.cassette_name('edit')
        with self.recorder.use_cassette(cassette_name):
            o = self.get_organization()
            # Create a new team to play with
            t = o.create_team('edit-me')
            assert isinstance(t, github3.orgs.Team)
            # Edit the new team
            assert t.edit('delete-me', permission='admin') is True
            # Assert that the name has changed
            assert t.name == 'delete-me'
            # Get rid of it, we don't need it.
            assert t.delete() is True
Show that a user can edit a team.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_orgs_team.py/TestTeam.test_edit