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

Method testCustomPerPage

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

Source from the content-addressed store, hash-verified

332 self.assertEqual(issues.totalCount, 1)
333
334 def testCustomPerPage(self):
335 self.assertEqual(self.g.per_page, 30)
336 self.g.per_page = 100
337 self.assertEqual(self.g.per_page, 100)
338 self.assertEqual(len(list(self.repo.get_issues())), 456)
339
340 def testCustomPerPageWithNoUrlParams(self):
341 self.g.per_page = 100

Callers

nothing calls this directly

Calls 1

get_issuesMethod · 0.45

Tested by

no test coverage detected