MCPcopy Index your code
hub / github.com/AutoForgeAI/autoforge / test_case_insensitive

Method test_case_insensitive

test_rate_limit_utils.py:89–94  ·  view source on GitHub ↗

Test that detection is case-insensitive.

(self)

Source from the content-addressed store, hash-verified

87 assert is_rate_limit_error("429 too many requests") is True
88
89 def test_case_insensitive(self):
90 """Test that detection is case-insensitive."""
91 assert is_rate_limit_error("RATE LIMIT") is True
92 assert is_rate_limit_error("Rate Limit") is True
93 assert is_rate_limit_error("rate limit") is True
94 assert is_rate_limit_error("RaTe LiMiT") is True
95
96 def test_non_rate_limit_errors(self):
97 """Test non-rate-limit error messages."""

Callers

nothing calls this directly

Calls 1

is_rate_limit_errorFunction · 0.90

Tested by

no test coverage detected