MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / test_record_error_event

Method test_record_error_event

tests/unit/test_events.py:22–27  ·  view source on GitHub ↗
(self, mock_req)

Source from the content-addressed store, hash-verified

20 assert event.init_timestamp != event.end_timestamp
21
22 def test_record_error_event(self, mock_req):
23 agentops.init(api_key=self.api_key)
24
25 event = ErrorEvent(logs=None)
26 time.sleep(0.15)
27 agentops.record(event)

Callers

nothing calls this directly

Calls 3

ErrorEventClass · 0.90
initMethod · 0.80
recordMethod · 0.80

Tested by

no test coverage detected