MCPcopy Create free account
hub / github.com/HisMax/RedInk / raise_rate_limit

Function raise_rate_limit

tests/errors_test.py:120–121  ·  view source on GitHub ↗
(provider_type, config)

Source from the content-addressed store, hash-verified

118 from backend.routes import config_routes
119
120 def raise_rate_limit(provider_type, config):
121 raise Exception('HTTP 429: {"error":{"message":"rate limit"}}')
122
123 monkeypatch.setattr(config_routes, "_test_provider_connection", raise_rate_limit)
124

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected