mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 21:34:59 +00:00
fix: Improve test_pipe_editor_with_fake_editor reliability by using explicit log file path
This commit is contained in:
parent
4560572ff2
commit
a8635bade2
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ with open(sys.argv[0] + ".log", "w") as f:
|
|||
pipe_editor("test content", suffix="md", editor=editor_cmd)
|
||||
|
||||
# Read the log file to see what arguments were passed
|
||||
with open(f"{script_path}.log") as f:
|
||||
with open(log_path) as f:
|
||||
called_args = f.read().strip()
|
||||
|
||||
# Verify the editor was called with a .md file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue