Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test(e2e): isolate diagnostic reporter subprocess

Joshua Vallurud5ac850feb7e
diff --git a/tests/code_coverage_tests/test_e2e_changed_gate.py b/tests/code_coverage_tests/test_e2e_changed_gate.py
index d14f007403b..707566c0333 100644
--- a/tests/code_coverage_tests/test_e2e_changed_gate.py
+++ b/tests/code_coverage_tests/test_e2e_changed_gate.py
@@ -247,7 +247,7 @@ def test_oauth_failure_diagnostics_do_not_publish_private_payloads(tmp_path: Pat
report: Final = tmp_path / "report.xml"
ET.ElementTree(suite).write(report)
result: Final = subprocess.run(
- [sys.executable, str(GATE), str(report), SELECTED[0]], capture_output=True, text=True
+ [sys.executable, "-I", str(GATE), str(report), SELECTED[0]], capture_output=True, text=True
)
assert result.returncode == 1
assert f"oauth_failure_phase: {phase}" in result.stdout