(self, mock_input, mock_repository, mock_fetch_env)
| 1158 | # --- why a create failed (the Crew Deployment Failed span) --------------- |
| 1159 | |
| 1160 | def _git_path(self, mock_input, mock_repository, mock_fetch_env): |
| 1161 | mock_fetch_env.return_value = {"ENV_VAR": "value"} |
| 1162 | mock_repository.return_value.origin_url.return_value = ( |
| 1163 | "https://github.com/test/repo.git" |
| 1164 | ) |
| 1165 | mock_repository.return_value.create_initial_commit_if_needed.return_value = ( |
| 1166 | False |
| 1167 | ) |
| 1168 | mock_input.return_value = "" |
| 1169 | |
| 1170 | @staticmethod |
| 1171 | def _api_response(status_code: int, body: object) -> MagicMock: |
no outgoing calls
no test coverage detected