(provider_type, config)
| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected