()
| 354 | |
| 355 | |
| 356 | def test_end_trace_not_initialized(): |
| 357 | with patch("agentops.tracer") as mock_tracer, patch("agentops.logger") as mock_logger: |
| 358 | mock_tracer.initialized = False |
| 359 | agentops.end_trace() |
| 360 | mock_logger.warning.assert_called_with("AgentOps SDK not initialized. Cannot end trace.") |
| 361 | |
| 362 | |
| 363 | def test_update_trace_metadata_not_initialized(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…