diff --git a/backend/tests/integration/test_pypi_proxy.py b/backend/tests/integration/test_pypi_proxy.py index 4bfdd4c..1354e42 100644 --- a/backend/tests/integration/test_pypi_proxy.py +++ b/backend/tests/integration/test_pypi_proxy.py @@ -135,3 +135,18 @@ class TestPyPIPackageNormalization: assert "text/html" in response.headers.get("content-type", "") elif response.status_code == 503: assert "No PyPI upstream sources configured" in response.json()["detail"] + + +class TestPyPIProxyInfrastructure: + """Tests for PyPI proxy infrastructure integration.""" + + @pytest.mark.integration + def test_health_endpoint_includes_infrastructure(self, integration_client): + """Health endpoint should report infrastructure status.""" + response = integration_client.get("/health") + assert response.status_code == 200 + + data = response.json() + assert data["status"] == "healthy" + # Infrastructure status may include these if implemented + # assert "infrastructure" in data