test(test_pass_through_endpoints.py): fix test

This commit is contained in:
Krrish Dholakia 2024-08-14 09:53:19 -07:00
parent 5fdbfcee44
commit 6bcfa90ba8

View file

@ -169,7 +169,7 @@ async def test_pass_through_endpoint_rpm_limit(auth, expected_error_code, rpm_li
[(True, 0, 429), (True, 1, 207), (False, 0, 207)], [(True, 0, 429), (True, 1, 207), (False, 0, 207)],
) )
@pytest.mark.asyncio @pytest.mark.asyncio
async def test_pass_through_endpoint_pass_through_keys_langfuse( async def test_aaapass_through_endpoint_pass_through_keys_langfuse(
auth, expected_error_code, rpm_limit auth, expected_error_code, rpm_limit
): ):
client = TestClient(app) client = TestClient(app)
@ -196,7 +196,7 @@ async def test_pass_through_endpoint_pass_through_keys_langfuse(
pass_through_endpoints = [ pass_through_endpoints = [
{ {
"path": "/api/public/ingestion", "path": "/api/public/ingestion",
"target": "https://us.cloud.langfuse.com/api/public/ingestion", "target": "https://cloud.langfuse.com/api/public/ingestion",
"auth": auth, "auth": auth,
"custom_auth_parser": "langfuse", "custom_auth_parser": "langfuse",
"headers": { "headers": {