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

Method setUp

tests/BranchProtection.py:44–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

42
43class BranchProtection(Framework.TestCase):
44 def setUp(self):
45 super().setUp()
46 self.branch_protection = self.g.get_repo("curvewise-forks/PyGithub").get_branch("master").get_protection()
47
48 def testAttributes(self):
49 self.assertEqual(self.branch_protection.allow_deletions, False)

Callers

nothing calls this directly

Calls 3

get_protectionMethod · 0.80
get_branchMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected