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

Method testTotalCountWithDeprecationLink

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

Source from the content-addressed store, hash-verified

326 self.assertEqual(review_requests[1].totalCount, 0)
327
328 def testTotalCountWithDeprecationLink(self):
329 # Test the original reported scenario: search_issues with commit SHA
330 issues = self.g.search_issues("commit:example_sha")
331 # Should return the actual count from JSON, not 0
332 self.assertEqual(issues.totalCount, 1)
333
334 def testCustomPerPage(self):
335 self.assertEqual(self.g.per_page, 30)

Callers

nothing calls this directly

Calls 1

search_issuesMethod · 0.80

Tested by

no test coverage detected