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

Method testCustomPerPageWithGetPage

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

Source from the content-addressed store, hash-verified

342 self.assertEqual(len(list(self.repo.get_comments())), 325)
343
344 def testCustomPerPageWithGetPage(self):
345 self.g.per_page = 100
346 self.assertEqual(len(self.repo.get_issues().get_page(2)), 100)
347
348 def testCustomPerPageIteration(self):
349 self.g.per_page = 3

Callers

nothing calls this directly

Calls 2

get_pageMethod · 0.80
get_issuesMethod · 0.45

Tested by

no test coverage detected