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

Method test_crew_by_uuid

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

Source from the content-addressed store, hash-verified

427
428 @patch("crewai_core.plus_api.PlusAPI._make_request")
429 def test_crew_by_uuid(self, mock_make_request):
430 self.api.crew_by_uuid("test_uuid")
431 mock_make_request.assert_called_once_with(
432 "GET", "/crewai_plus/api/v1/crews/test_uuid/logs/deployment"
433 )
434
435 self.api.crew_by_uuid("test_uuid", "custom_log")
436 mock_make_request.assert_called_with(
437 "GET", "/crewai_plus/api/v1/crews/test_uuid/logs/custom_log"
438 )
439
440 @patch("crewai_core.plus_api.PlusAPI._make_request")
441 def test_delete_crew_by_name(self, mock_make_request):

Callers

nothing calls this directly

Calls 1

crew_by_uuidMethod · 0.80

Tested by

no test coverage detected