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

Method setUp

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

Source from the content-addressed store, hash-verified

44
45class DeploymentStatus(Framework.TestCase):
46 def setUp(self):
47 super().setUp()
48 self.deployment = self.g.get_user().get_repo("PyGithub").get_deployment(263877258)
49 self.status = self.deployment.get_status(388454671)
50
51 def testAttributes(self):
52 self.assertEqual(self.status.created_at, datetime(2020, 8, 26, 14, 32, 51, tzinfo=timezone.utc))

Callers

nothing calls this directly

Calls 4

get_deploymentMethod · 0.80
get_userMethod · 0.80
get_repoMethod · 0.45
get_statusMethod · 0.45

Tested by

no test coverage detected