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

Method testInviteUserWithNeither

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

Source from the content-addressed store, hash-verified

569 self.assertEqual("secret_type should be actions or dependabot", str(raisedexp.exception))
570
571 def testInviteUserWithNeither(self):
572 with self.assertRaises(AssertionError) as raisedexp:
573 self.org.invite_user()
574 self.assertEqual("specify only one of email or user", str(raisedexp.exception))
575
576 def testInviteUserWithBoth(self):
577 jacquev6 = self.g.get_user("jacquev6")

Callers

nothing calls this directly

Calls 1

invite_userMethod · 0.80

Tested by

no test coverage detected