(_remote_path, local_path)
| 376 | return {"content": "_&exists_"} |
| 377 | |
| 378 | async def _download_file(_remote_path, local_path): |
| 379 | assert local_path.endswith("report.txt") |
| 380 | assert "\\" not in local_path |
| 381 | with open(local_path, "w", encoding="utf-8") as file: |
| 382 | file.write("report") |
| 383 | |
| 384 | booter = SimpleNamespace( |
| 385 | shell=SimpleNamespace(exec=AsyncMock(side_effect=_exec)), |