mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
test: fix confirm_ask_yes_no test by disabling fancy input
This commit is contained in:
parent
5fd8fb15b9
commit
ba2bee61de
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class TestInputOutput(unittest.TestCase):
|
||||||
|
|
||||||
@patch("builtins.input")
|
@patch("builtins.input")
|
||||||
def test_confirm_ask_yes_no(self, mock_input):
|
def test_confirm_ask_yes_no(self, mock_input):
|
||||||
io = InputOutput(pretty=False)
|
io = InputOutput(pretty=False, fancy_input=False)
|
||||||
|
|
||||||
# Test case 1: User selects 'Yes'
|
# Test case 1: User selects 'Yes'
|
||||||
mock_input.return_value = "y"
|
mock_input.return_value = "y"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue