mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
fix: add fancy_input=False to all InputOutput test initializations
This commit is contained in:
parent
8908a48b68
commit
5fd8fb15b9
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ class TestInputOutput(unittest.TestCase):
|
|||
|
||||
@patch("builtins.input", return_value="test input")
|
||||
def test_get_input_is_a_directory_error(self, mock_input):
|
||||
io = InputOutput(pretty=False) # Windows tests throw UnicodeDecodeError
|
||||
io = InputOutput(pretty=False, fancy_input=False) # Windows tests throw UnicodeDecodeError
|
||||
root = "/"
|
||||
rel_fnames = ["existing_file.txt"]
|
||||
addable_rel_fnames = ["new_file.txt"]
|
||||
|
@ -121,7 +121,7 @@ class TestInputOutput(unittest.TestCase):
|
|||
|
||||
@patch("builtins.input")
|
||||
def test_confirm_ask_explicit_yes_required(self, mock_input):
|
||||
io = InputOutput(pretty=False)
|
||||
io = InputOutput(pretty=False, fancy_input=False)
|
||||
|
||||
# Test case 1: explicit_yes_required=True, self.yes=True
|
||||
io.yes = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue