From ea64240236b1a73776b4f27f8c8cdecd7535c776 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 19 Jun 2024 21:31:30 -0700 Subject: [PATCH] test(test_alangfuse.py): fix tests --- litellm/tests/test_amazing_langfuse.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/litellm/tests/test_amazing_langfuse.py b/litellm/tests/test_amazing_langfuse.py index 39340c63c4..3c9b2dad4d 100644 --- a/litellm/tests/test_amazing_langfuse.py +++ b/litellm/tests/test_amazing_langfuse.py @@ -27,6 +27,7 @@ def langfuse_client(): langfuse_client = langfuse.Langfuse( public_key=os.environ["LANGFUSE_PUBLIC_KEY"], secret_key=os.environ["LANGFUSE_SECRET_KEY"], + host=None, ) with patch( @@ -279,7 +280,7 @@ async def test_langfuse_masked_input_output(langfuse_client): @pytest.mark.asyncio -async def test_langfuse_logging_metadata(langfuse_client): +async def test_alangfuse_logging_metadata(langfuse_client): """ Test that creates multiple traces, with a varying number of generations and sets various metadata fields Confirms that no metadata that is standard within Langfuse is duplicated in the respective trace or generation metadata @@ -868,7 +869,7 @@ async def test_make_request(): ) -def test_langfuse_dynamic_logging(): +def test_alangfuse_dynamic_logging(): """ pass in langfuse credentials via completion call