aider/tests
Paul Gauthier bcf258f1c6 aider: Modified test to check if coder.abs_fnames contains both files.
# Context:
USER: don't compare the result string. check that coder.abs_fnames now contains both files
ASSISTANT: To update the test to check if `coder.abs_fnames` contains both files, modify the test as follows:

```python
tests/test_coder.py
<<<<<<< ORIGINAL
        # Check if the result is as expected
        self.assertEqual(result, "Added files: file1.txt, file2.py")
=======
        # Check if coder.abs_fnames contains both files
        expected_files = {os.path.abspath("file1.txt"), os.path.abspath("file2.py")}
        self.assertEqual(coder.abs_fnames, expected_files)
>>>>>>> UPDATED
```

This change will ensure that the test checks if `coder.abs_fnames` contains both files instead of comparing the result string.
2023-05-27 08:28:31 -07:00
..
__init__.py aider: Added empty __init__.py file to tests directory to fix ModuleNotFoundError when running tests. 2023-05-11 17:12:42 -07:00
test_coder.py aider: Modified test to check if coder.abs_fnames contains both files. 2023-05-27 08:28:31 -07:00
test_commands.py fixed test 2023-05-27 06:25:16 -07:00
test_main.py removed dotenv 2023-05-27 06:13:34 -07:00
test_repomap.py fixed bug found by testing 2023-05-24 19:09:05 -07:00
test_utils.py fix bug if ORIG/UPD block is missing trailing newline; added test 2023-05-12 13:30:39 -07:00