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

Method testIsRateLimitError

tests/Requester.py:403–407  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

401 OtherErrors = ["User does not exist or is not a member of the organization"]
402
403 def testIsRateLimitError(self):
404 for message in self.PrimaryRateLimitErrors + self.SecondaryRateLimitErrors:
405 self.assertTrue(github.Requester.Requester.isRateLimitError(message), message)
406 for message in self.OtherErrors:
407 self.assertFalse(github.Requester.Requester.isRateLimitError(message), message)
408
409 def testIsPrimaryRateLimitError(self):
410 for message in self.PrimaryRateLimitErrors:

Callers

nothing calls this directly

Calls 1

isRateLimitErrorMethod · 0.80

Tested by

no test coverage detected