(self, env: Dict[str, str])
| 11 | os.makedirs(self.directory, exist_ok=True) |
| 12 | |
| 13 | def update_env(self, env: Dict[str, str]): |
| 14 | path = str(self.directory) |
| 15 | if "PATH" in env: |
| 16 | path += f":{env['PATH']}" |
| 17 | env["PATH"] = path |
| 18 | |
| 19 | def redirect_program_to_binary(self, mocked_program: str, target_binary: Path): |
| 20 | """ |
no outgoing calls