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

Method testGetSecrets

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

Source from the content-addressed store, hash-verified

529 self.assertEqual(secret.url, "/orgs/org/actions/secrets/secret%20name")
530
531 def testGetSecrets(self):
532 secrets = self.org.get_secrets()
533 self.assertEqual(len(list(secrets)), 1)
534
535 def testGetDependabotSecrets(self):
536 secrets = self.org.get_secrets(secret_type="dependabot")

Callers

nothing calls this directly

Calls 1

get_secretsMethod · 0.45

Tested by

no test coverage detected