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

Method testPaginationAndRestIntegration

tests/GraphQl.py:213–360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211 self.assertEqual(org.name, "PyGithub")
212
213 def testPaginationAndRestIntegration(self):
214 repo = self.g.get_repo("PyGithub/PyGithub")
215 discussion_schema = """
216 id
217 url
218 number
219 author {
220 login
221 avatarUrl
222 url
223 }
224 repository {
225 owner { login }
226 name
227 issues(first: 10) {
228 totalCount
229 pageInfo {
230 startCursor
231 endCursor
232 hasNextPage
233 hasPreviousPage
234 }
235 nodes {
236 databaseId
237 id
238 number
239 title
240 }
241 }
242 }
243 title
244 createdAt
245 comments(first: 10) {
246 totalCount
247 pageInfo {
248 startCursor
249 endCursor
250 hasNextPage
251 hasPreviousPage
252 }
253 nodes {
254 id
255 url
256 createdAt
257 author {
258 login
259 avatarUrl
260 url
261 }
262 isAnswer
263 replies(first: 10) {
264 totalCount
265 pageInfo {
266 startCursor
267 endCursor
268 hasNextPage
269 hasPreviousPage
270 }

Callers

nothing calls this directly

Calls 6

get_repliesMethod · 0.80
get_repoMethod · 0.45
get_discussionsMethod · 0.45
get_commentsMethod · 0.45
get_labelsMethod · 0.45
get_issuesMethod · 0.45

Tested by

no test coverage detected