MCPcopy Create free account
hub / github.com/crewAIInc/crewAI / test_export_evaluation

Method test_export_evaluation

lib/cli/tests/test_plus_api.py:125–136  ·  view source on GitHub ↗
(self, mock_make_request)

Source from the content-addressed store, hash-verified

123
124 @patch("crewai_core.plus_api.PlusAPI._make_request")
125 def test_export_evaluation(self, mock_make_request):
126 mock_response = MagicMock()
127 mock_make_request.return_value = mock_response
128
129 response = self.api.export_evaluation("ev-1")
130
131 mock_make_request.assert_called_once_with(
132 "GET",
133 "/crewai_plus/api/v1/tracing/evaluations/ev-1/export",
134 timeout=httpx.Timeout(30.0, read=120.0),
135 )
136 self.assertEqual(response, mock_response)
137
138 @patch("crewai_core.plus_api.PlusAPI._make_request")
139 def test_login_to_tool_repository(self, mock_make_request):

Callers

nothing calls this directly

Calls 1

export_evaluationMethod · 0.45

Tested by

no test coverage detected