- Reset mock call counts at start of test to ensure clean state - Add span method to mock trace to handle log_provider_specific_information_as_span calls - Re-establish mock chain before test call to ensure fresh state - Add exception handling to catch and report errors during test execution - Add verification that trace was called before checking generation This should fix the flaky test that was failing intermittently with 'Expected generation to have been called once. Called 0 times.' |
||
|---|---|---|
| .. | ||
| arize | ||
| bitbucket | ||
| cloudzero | ||
| datadog | ||
| dotprompt | ||
| gcs_bucket | ||
| gcs_pubsub | ||
| gitlab | ||
| langfuse | ||
| open_telemetry/data | ||
| SlackAlerting | ||
| test_agentops.py | ||
| test_anthropic_cache_control_hook.py | ||
| test_athina.py | ||
| test_braintrust_logging.py | ||
| test_braintrust_span_name.py | ||
| test_custom_guardrail.py | ||
| test_custom_prompt_management.py | ||
| test_deepeval.py | ||
| test_langfuse_otel.py | ||
| test_langfuse.py | ||
| test_langsmith_init.py | ||
| test_mlflow.py | ||
| test_openmeter.py | ||
| test_opentelemetry.py | ||
| test_prometheus_labels.py | ||
| test_prometheus_services.py | ||
| test_s3_v2.py | ||
| test_weave_otel.py | ||