(self, mock_req)
| 11 | self.event_type = "test_event_type" |
| 12 | |
| 13 | def test_record_timestamp(self, mock_req): |
| 14 | agentops.init(api_key=self.api_key) |
| 15 | |
| 16 | event = ActionEvent() |
| 17 | time.sleep(0.15) |
| 18 | agentops.record(event) |
| 19 | |
| 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) |
nothing calls this directly
no test coverage detected