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

Method setUp

tests/OrganizationCodeScanAlert.py:37–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 alert: github.OrganizationCodeScanAlert.OrganizationCodeScanAlert
36
37 def setUp(self):
38 super().setUp()
39 self.org = self.g.get_organization(
40 "github"
41 ) # This is a placeholder organization that should always exist, switch this to your own test organization
42
43 def testMultipleAlerts(self):
44 multiple_alerts = self.org.get_codescan_alerts()

Callers

nothing calls this directly

Calls 1

get_organizationMethod · 0.80

Tested by

no test coverage detected