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

Method setUp

tests/Milestone.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43
44class Milestone(Framework.TestCase):
45 def setUp(self):
46 super().setUp()
47 self.milestone = self.g.get_repo("PyGithub/PyGithub").get_milestone(1)
48
49 def testAttributes(self):
50 self.assertEqual(self.milestone.closed_at, datetime(2012, 3, 12, 22, 18, 49, tzinfo=timezone.utc))

Callers

nothing calls this directly

Calls 2

get_milestoneMethod · 0.80
get_repoMethod · 0.45

Tested by

no test coverage detected