"""Tests for proxy endpoints.""" import pytest class TestProxyEndpoints: """Test /proxy/* endpoints.""" def test_proxy_status(self, client): """Proxy status should be accessible.""" resp = client.get("/proxy/status") # May return 200 or 500 if proxy_client is None (no lifespan in tests) assert resp.status_code in (200, 500)