diff --git a/tests/local_testing/test_alangfuse.py b/tests/local_testing/test_alangfuse.py index fde188d2a..2725de35e 100644 --- a/tests/local_testing/test_alangfuse.py +++ b/tests/local_testing/test_alangfuse.py @@ -443,7 +443,7 @@ async def test_aaalangfuse_logging_metadata(langfuse_client): try: trace = langfuse_client.get_trace(id=trace_id) except Exception as e: - if "Trace not found within authorized project" in str(e): + if "not found within authorized project" in str(e): print(f"Trace {trace_id} not found") continue assert trace.id == trace_id