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

Method testIntIndexingInFirstPage

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

Source from the content-addressed store, hash-verified

78 self.assertEqual(len(list(self.list)), 333)
79
80 def testIntIndexingInFirstPage(self):
81 with self.replayData("PaginatedList.testGetFirstPage.txt"):
82 self.assertEqual(self.list[0].id, 4772349)
83 self.assertEqual(self.list[24].id, 4286936)
84
85 def testReversedIterationWithSinglePage(self):
86 r = self.list.reversed

Callers

nothing calls this directly

Calls 1

replayDataMethod · 0.80

Tested by

no test coverage detected