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

Method testGetThirdPage

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

Source from the content-addressed store, hash-verified

159 )
160
161 def testGetThirdPage(self):
162 self.assertListKeyEqual(
163 self.list.get_page(2),
164 lambda i: i.id,
165 [
166 3911629,
167 3911537,
168 3910580,
169 3910555,
170 3910549,
171 3897090,
172 3883598,
173 3856005,
174 3850655,
175 3825582,
176 3813852,
177 3812318,
178 3812275,
179 3807459,
180 3799872,
181 3799653,
182 3795495,
183 3754055,
184 3710293,
185 3662214,
186 3647640,
187 3631618,
188 3627067,
189 3614231,
190 3605277,
191 ],
192 )
193
194 def testIntIndexingAfterIteration(self):
195 with self.replayData("PaginatedList.testIteration.txt"):

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_pageMethod · 0.80

Tested by

no test coverage detected