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

Method setUp

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

Source from the content-addressed store, hash-verified

44
45class Deployment(Framework.TestCase):
46 def setUp(self):
47 super().setUp()
48 self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258)
49
50 def testAttributes(self):
51 self.assertEqual(self.deployment.created_at, datetime(2020, 8, 26, 11, 44, 53, tzinfo=timezone.utc))

Callers

nothing calls this directly

Calls 3

get_deploymentMethod · 0.80
get_userMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected