def test_create_team(self):
        self.instance.create_team('team-name', permission='push')

        self.post_called_with(
            url_for('teams'),
            data={
                'name': 'team-name',
                'repo_names': [],
                'permission': 'push'
            }
        )
Show that one can create a team in an organization.
dataset/ETHPy150Open sigmavirus24/github3.py/tests/unit/test_orgs.py/TestOrganization.test_create_team