aider/tests
Paul Gauthier 3e3694b38a aider: Set the git user name and email in the get_tracked_files test.
# Aider chat conversation:

USER: set the git user name and email in the `get_tracked_files` test

ASSISTANT: To set the git user name and email in the `get_tracked_files` test, we need to modify the `tests/test_coder.py` file. We will add two lines of code to set the git user name and email after initializing the git repository.

Here is the change:

```python
tests/test_coder.py
<<<<<<< ORIGINAL
        # Initialize a git repository in the temporary directory
        repo = git.Repo.init(tempdir)
=======
        # Initialize a git repository in the temporary directory and set user name and email
        repo = git.Repo.init(tempdir)
        repo.config_writer().set_value("user", "name", "Test User").release()
        repo.config_writer().set_value("user", "email", "testuser@example.com").release()
>>>>>>> UPDATED
```

This change sets the git user name to "Test User" and the email to "testuser@example.com".
2023-07-11 09:20:50 -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: Set the git user name and email in the get_tracked_files test. 2023-07-11 09:20:50 -07:00
test_commands.py test name 2023-07-10 15:19:30 -07:00
test_editblock.py improve filehandle hygene 2023-07-06 12:29:49 -07:00
test_io.py Fix test 2023-07-10 15:33:46 -07:00
test_main.py fix tests 2023-07-07 11:29:56 -07:00
test_models.py More Model test cases 2023-06-21 14:13:34 -07:00
test_repomap.py refactor to use io.read_text 2023-07-05 20:46:15 -07:00
test_wholefile.py added test_update_files_live_diff 2023-07-11 07:32:31 -07:00