| 205 | arena.logger = type("Logger", (), {"info": lambda self, msg: None, "error": lambda self, msg: None})() |
| 206 | |
| 207 | class CapturingEnvironment(MockEnvironment): |
| 208 | def __init__(self): |
| 209 | super().__init__() |
| 210 | self.timeout = None |
| 211 | |
| 212 | def execute(self, cmd, cwd=None, timeout=None): |
| 213 | self._executed_commands.append(cmd) |
| 214 | self.timeout = timeout |
| 215 | return {"output": "", "returncode": 0} |
| 216 | |
| 217 | arena.environment = CapturingEnvironment() |
| 218 |
no outgoing calls