aider/tests/basic
Paul Gauthier (aider) fb87dd883c test: patch input() to return empty string
This commit patches the `input()` builtin to return an empty string in the test setup, preventing tests from hanging while waiting for user input. It also adds cleanup for the patch in the teardown method.
2024-09-10 14:18:32 -07:00
..
test_coder.py feat: import patch from unittest.mock for mocking in tests 2024-08-31 08:05:00 -07:00
test_commands.py fix: Add support for directories with special characters in cmd_add 2024-08-25 12:05:31 -07:00
test_editblock.py Merge pull request #1003 from cclauss/patch-1 2024-09-10 13:38:59 -07:00
test_find_or_blocks.py don't disrupt \_ in filenames #1158 2024-08-26 12:08:46 -07:00
test_history.py Revert "rename simple_send_with_retries -> send_with_retries" 2024-08-02 10:49:44 -03:00
test_io.py fix: remove unused import of builtins module 2024-09-10 14:09:40 -07:00
test_linter.py remove eslint as default linter 2024-09-05 12:45:12 -07:00
test_main.py test: patch input() to return empty string 2024-09-10 14:18:32 -07:00
test_models.py test: update sanity check tests to use tool_output instead of tool_warning 2024-09-03 17:21:06 -07:00
test_repo.py fix: Use call_args_list to verify all calls to mocked function 2024-08-23 15:17:16 -07:00
test_repomap.py style: format long string in test_repomap.py 2024-08-30 18:19:24 -07:00
test_run_cmd.py do not try pexpect on windows; fix time.clock error on windows 2024-08-28 22:26:48 -07:00
test_scripting.py fix: Remove unused import of InputOutput from aider.io 2024-08-01 15:46:59 -03:00
test_sendchat.py feat: Add tests for simple_send_with_retries function 2024-08-08 15:22:58 -03:00
test_special.py fix: Update is_important function tests for README.md paths 2024-08-30 16:59:36 -07:00
test_udiff.py use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
test_urls.py use pytest.ini testpaths to order testing 2024-07-16 10:33:42 +01:00
test_wholefile.py refactor: Rename update_files to apply_updates 2024-08-22 12:47:29 -07:00