(self, mock_input, mock_repository, mock_fetch_env)
| 1142 | # --- why a create failed (the Crew Deployment Failed span) --------------- |
| 1143 | |
| 1144 | def _git_path(self, mock_input, mock_repository, mock_fetch_env): |
| 1145 | mock_fetch_env.return_value = {"ENV_VAR": "value"} |
| 1146 | mock_repository.return_value.origin_url.return_value = ( |
| 1147 | "https://github.com/test/repo.git" |
| 1148 | ) |
| 1149 | mock_repository.return_value.create_initial_commit_if_needed.return_value = ( |
| 1150 | False |
| 1151 | ) |
| 1152 | mock_input.return_value = "" |
| 1153 | |
| 1154 | @staticmethod |
| 1155 | def _api_response(status_code: int, body: object) -> MagicMock: |
no outgoing calls
no test coverage detected