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

Method setUp

tests/PaginatedList.py:54–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52
53class PaginatedList(Framework.TestCase):
54 def setUp(self):
55 super().setUp()
56 self.repo = self.g.get_user("openframeworks").get_repo("openFrameworks")
57 self.list = self.repo.get_issues()
58 self.licenses = self.g.get_enterprise("beaver-group").get_consumed_licenses()
59
60 def testIsApiType(self):
61 self.assertTrue(self.list.is_rest)

Callers

nothing calls this directly

Calls 5

get_userMethod · 0.80
get_consumed_licensesMethod · 0.80
get_enterpriseMethod · 0.80
get_repoMethod · 0.45
get_issuesMethod · 0.45

Tested by

no test coverage detected