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

Method testGetSecretsFail

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

Source from the content-addressed store, hash-verified

564 self.assertEqual(alert_list[0].repository.full_name, "BeaverSoftware/PyGithub")
565
566 def testGetSecretsFail(self):
567 with self.assertRaises(AssertionError) as raisedexp:
568 self.org.get_secrets(secret_type="secret")
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:

Callers

nothing calls this directly

Calls 1

get_secretsMethod · 0.45

Tested by

no test coverage detected