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

Method test_list_crews

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

Source from the content-addressed store, hash-verified

453
454 @patch("crewai_core.plus_api.PlusAPI._make_request")
455 def test_list_crews(self, mock_make_request):
456 self.api.list_crews()
457 mock_make_request.assert_called_once_with("GET", "/crewai_plus/api/v1/crews")
458
459 @patch("crewai_core.plus_api.PlusAPI._make_request")
460 def test_create_crew(self, mock_make_request):

Callers

nothing calls this directly

Calls 1

list_crewsMethod · 0.45

Tested by

no test coverage detected