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

Method test_403_with_retry_after

tests/GithubRetry.py:363–366  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

361 expected.increment("TEST", "URL", response)
362
363 def test_403_with_retry_after(self):
364 retry = github.GithubRetry(total=3)
365 response = urllib3.response.HTTPResponse(status=403, headers={"Retry-After": "123"})
366 self.do_test_default_behaviour(retry, response)
367
368 def test_403_with_non_retryable_error(self):
369 retry = github.GithubRetry(total=3)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected