diff --git a/tests/local_testing/test_alangfuse.py b/tests/local_testing/test_alangfuse.py index ec0cb335e..3ccc00e83 100644 --- a/tests/local_testing/test_alangfuse.py +++ b/tests/local_testing/test_alangfuse.py @@ -448,7 +448,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