mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 18:54:59 +00:00
![]() # Context: USER: pass temp_dir as the cwd to subprocess in test_main_with_empty_git_dir_new_file ASSISTANT: Here's the change to pass `temp_dir` as the `cwd` to `subprocess` in the `test_main_with_empty_git_dir_new_file` function: ```python tests/test_main.py <<<<<<< ORIGINAL subprocess.run(["git", "init"]) ======= subprocess.run(["git", "init"], cwd=temp_dir) >>>>>>> UPDATED ``` |
||
---|---|---|
.. | ||
__init__.py | ||
test_main.py | ||
test_utils.py |