Skip to content

Commit

Permalink
test langfuse e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan-jaff committed Jan 19, 2025
1 parent 8f80e2b commit ddeac13
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/logging_callback_tests/test_langfuse_e2e_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ async def test_langfuse_logging_completion(self, mock_setup):
)

@pytest.mark.asyncio
@pytest.mark.flaky(retries=2, delay=2)
async def test_langfuse_logging_streaming_completion(self, mock_setup):
"""Test Langfuse logging for streaming completion"""
setup = await mock_setup # Await the fixture
Expand Down Expand Up @@ -216,6 +217,7 @@ async def test_langfuse_logging_embedding(self, mock_setup):
)

@pytest.mark.asyncio
@pytest.mark.flaky(retries=2, delay=2)
async def test_langfuse_logging_custom_generation_name(self, mock_setup):
"""Test Langfuse logging with custom generation name and metadata"""
setup = await mock_setup # Await the fixture
Expand All @@ -240,6 +242,7 @@ async def test_langfuse_logging_custom_generation_name(self, mock_setup):
)

@pytest.mark.asyncio
@pytest.mark.flaky(retries=2, delay=2)
async def test_langfuse_masked_input_output(self, mock_setup):
"""Test Langfuse logging with masked input and output"""
setup = await mock_setup # Await the fixture
Expand Down Expand Up @@ -270,6 +273,7 @@ async def test_langfuse_masked_input_output(self, mock_setup):
)

@pytest.mark.asyncio
@pytest.mark.flaky(retries=2, delay=2)
async def test_langfuse_masked_input_output_stream(self, mock_setup):
"""Test Langfuse logging with masked input and output"""
setup = await mock_setup # Await the fixture
Expand Down

0 comments on commit ddeac13

Please sign in to comment.