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

Method testEditWithAllArguments

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

Source from the content-addressed store, hash-verified

201 self.assertEqual(self.team.name, "Name edited by PyGithub")
202
203 def testEditWithAllArguments(self):
204 parent = self.org.get_team(141496)
205 self.team.edit(
206 "Name edited twice by PyGithub",
207 "Description edited by PyGithub",
208 "admin",
209 "secret",
210 parent.id,
211 "notifications_disabled",
212 )
213 self.assertEqual(self.team.name, "Name edited twice by PyGithub")
214 self.assertEqual(self.team.description, "Description edited by PyGithub")
215 self.assertEqual(self.team.permission, "admin")
216 self.assertEqual(self.team.privacy, "secret")
217 self.assertEqual(self.team.parent, parent)
218 self.assertEqual(self.team.notification_setting, "notifications_disabled")
219
220 def testGetTeams(self):
221 nested_teams = self.team.get_teams()

Callers

nothing calls this directly

Calls 2

get_teamMethod · 0.80
editMethod · 0.45

Tested by

no test coverage detected