mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: Resolve symlinks in external file path for test
This commit is contained in:
parent
3549ed1205
commit
366da70907
1 changed files with 2 additions and 1 deletions
|
@ -425,6 +425,7 @@ class TestMain(TestCase):
|
|||
return_coder=True,
|
||||
)
|
||||
|
||||
self.assertIn(external_file_path, coder.abs_read_only_fnames)
|
||||
real_external_file_path = os.path.realpath(external_file_path)
|
||||
self.assertIn(real_external_file_path, coder.abs_read_only_fnames)
|
||||
finally:
|
||||
os.unlink(external_file_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue