MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / testRepoPermission

Method testRepoPermission

tests/Team.py:168–173  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 self.assertEqual(membership_data.organization.login, "BeaverSoftware")
167
168 def testRepoPermission(self):
169 repo = self.org.get_repo("FatherBeaver")
170 # Ignore the warning since this method is deprecated
171 warnings.filterwarnings("ignore", category=DeprecationWarning)
172 self.team.set_repo_permission(repo, "admin")
173 warnings.resetwarnings()
174
175 def testUpdateTeamRepository(self):
176 repo = self.org.get_repo("FatherBeaver")

Callers

nothing calls this directly

Calls 2

set_repo_permissionMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected