mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
copy
This commit is contained in:
parent
c5214ed075
commit
ee56ba1f50
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ Some things to notice:
|
|||
> Added tests/test_main.py to the chat
|
||||
> Added aider/getinput.py to the chat
|
||||
|
||||
#### > instead of using /dev/null to send no output in the main tests, can we use the prompt_toolkit input mocking functions?
|
||||
#### > instead of using /dev/null to send no input in the main tests, can we use the prompt_toolkit input mocking functions?
|
||||
|
||||
Yes, we can use the `prompt_toolkit.input` module to mock the input in the tests. Here's how to modify the `tests/test_main.py` file:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue