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

Method testIntIndexingAfterIteration

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

Source from the content-addressed store, hash-verified

192 )
193
194 def testIntIndexingAfterIteration(self):
195 with self.replayData("PaginatedList.testIteration.txt"):
196 self.assertEqual(len(list(self.list)), 333)
197 self.assertEqual(self.list[11].id, 4507572)
198 self.assertEqual(self.list[73].id, 3614231)
199 self.assertEqual(self.list[332].id, 94898)
200
201 def testSliceIndexingInFirstPage(self):
202 with self.replayData("PaginatedList.testGetFirstPage.txt"):

Callers

nothing calls this directly

Calls 1

replayDataMethod · 0.80

Tested by

no test coverage detected