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

Method test_create_crew

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

Source from the content-addressed store, hash-verified

458
459 @patch("crewai_core.plus_api.PlusAPI._make_request")
460 def test_create_crew(self, mock_make_request):
461 payload = {"name": "test_crew"}
462 self.api.create_crew(payload)
463 mock_make_request.assert_called_once_with(
464 "POST", "/crewai_plus/api/v1/crews", json=payload
465 )
466
467 @patch("crewai_cli.plus_api.PlusAPI._make_multipart_request")
468 def test_create_crew_from_zip(self, mock_make_multipart_request):

Callers

nothing calls this directly

Calls 1

create_crewMethod · 0.45

Tested by

no test coverage detected