MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / test_default_status

Method test_default_status

tests/test_api_errors.py:47–49  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45
46class TestRateLimitError(unittest.TestCase):
47 def test_default_status(self) -> None:
48 err = RateLimitError()
49 self.assertEqual(err.status, 429)
50
51 def test_retry_after(self) -> None:
52 err = RateLimitError(retry_after=30.0)

Callers

nothing calls this directly

Calls 1

RateLimitErrorClass · 0.90

Tested by

no test coverage detected