(self, mock_make_request)
| 415 | |
| 416 | @patch("crewai_core.plus_api.PlusAPI._make_request") |
| 417 | def test_crew_by_name(self, mock_make_request): |
| 418 | self.api.crew_by_name("test_project") |
| 419 | mock_make_request.assert_called_once_with( |
| 420 | "GET", "/crewai_plus/api/v1/crews/by-name/test_project/logs/deployment" |
| 421 | ) |
| 422 | |
| 423 | self.api.crew_by_name("test_project", "custom_log") |
| 424 | mock_make_request.assert_called_with( |
| 425 | "GET", "/crewai_plus/api/v1/crews/by-name/test_project/logs/custom_log" |
| 426 | ) |
| 427 | |
| 428 | @patch("crewai_core.plus_api.PlusAPI._make_request") |
| 429 | def test_crew_by_uuid(self, mock_make_request): |
nothing calls this directly
no test coverage detected