mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
![]() # Context: USER: in test_main_with_empty_dir_new_file, confirm that foo.txt exists after main exists ASSISTANT: To confirm that `foo.txt` exists after `main` exits, you can add an assertion in the `test_main_with_empty_dir_new_file` test case. Here's the change: ```python tests/test_main.py <<<<<<< ORIGINAL main(['foo.txt']) sys.stdin = save_stdin ======= main(['foo.txt']) sys.stdin = save_stdin self.assertTrue(os.path.exists('foo.txt')) >>>>>>> UPDATED ``` |
||
---|---|---|
.. | ||
__init__.py | ||
test_main.py | ||
test_utils.py |