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

Method setUp

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

Source from the content-addressed store, hash-verified

42
43class UserKey(Framework.TestCase):
44 def setUp(self):
45 super().setUp()
46 self.key = self.g.get_user().get_key(2626650)
47
48 def testAttributes(self):
49 self.assertEqual(self.key.created_at, datetime(2024, 12, 23, 12, 34, 56, tzinfo=timezone.utc))

Callers

nothing calls this directly

Calls 2

get_userMethod · 0.80
get_keyMethod · 0.45

Tested by

no test coverage detected