(self, mock_make_request)
| 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): |
nothing calls this directly
no test coverage detected