forked from phoenix/litellm-mirror
test_langfuse_masked_input_output
This commit is contained in:
parent
aff120b34f
commit
a5df4f1a81
1 changed files with 4 additions and 3 deletions
|
@ -263,7 +263,7 @@ audio_file = open(file_path, "rb")
|
|||
|
||||
@pytest.mark.asyncio
|
||||
@pytest.mark.flaky(retries=4, delay=2)
|
||||
async def test_langfuse_logging_audio_transcriptions():
|
||||
async def test_langfuse_logging_audio_transcriptions(langfuse_client):
|
||||
"""
|
||||
Test that creates a trace with masked input and output
|
||||
"""
|
||||
|
@ -347,6 +347,7 @@ async def test_langfuse_masked_input_output(langfuse_client):
|
|||
|
||||
assert trace.input == expected_input
|
||||
assert trace.output == expected_output
|
||||
if len(generations) > 0:
|
||||
assert generations[0].input == expected_input
|
||||
assert generations[0].output == expected_output
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue