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

Method testGetFirstPage

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

Source from the content-addressed store, hash-verified

126 self.assertEqual(self.list[74].id, 3605277)
127
128 def testGetFirstPage(self):
129 self.assertListKeyEqual(
130 self.list.get_page(0),
131 lambda i: i.id,
132 [
133 4772349,
134 4767675,
135 4758608,
136 4700182,
137 4662873,
138 4608132,
139 4604661,
140 4588997,
141 4557803,
142 4554058,
143 4539985,
144 4507572,
145 4507492,
146 4507416,
147 4447561,
148 4406584,
149 4384548,
150 4383465,
151 4373361,
152 4373201,
153 4370619,
154 4356530,
155 4352401,
156 4317009,
157 4286936,
158 ],
159 )
160
161 def testGetThirdPage(self):
162 self.assertListKeyEqual(

Callers

nothing calls this directly

Calls 2

assertListKeyEqualMethod · 0.80
get_pageMethod · 0.80

Tested by

no test coverage detected