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

Method testInviteUserByName

tests/Organization.py:582–584  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

580 self.assertEqual("specify only one of email or user", str(raisedexp.exception))
581
582 def testInviteUserByName(self):
583 jacquev6 = self.g.get_user("jacquev6")
584 self.org.invite_user(user=jacquev6)
585
586 def testInviteUserByEmail(self):
587 self.org.invite_user(email="foo@example.com")

Callers

nothing calls this directly

Calls 2

get_userMethod · 0.80
invite_userMethod · 0.80

Tested by

no test coverage detected