mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 13:25:00 +00:00
Use ./ paths for the test
This commit is contained in:
parent
4dc2e6a5c8
commit
3732f62a9c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class TestCoder(unittest.TestCase):
|
||||||
|
|
||||||
# Mock the git repo
|
# Mock the git repo
|
||||||
mock_repo = MagicMock()
|
mock_repo = MagicMock()
|
||||||
mock_repo.git.ls_files.return_value = "path/to/file1.txt\npath/to/file2.py"
|
mock_repo.git.ls_files.return_value = "./file1.txt\n./file2.py"
|
||||||
coder.repo = mock_repo
|
coder.repo = mock_repo
|
||||||
|
|
||||||
# Call the check_for_file_mentions method
|
# Call the check_for_file_mentions method
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue