mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-22 05:14:59 +00:00
test: set fancy_input=False in all InputOutput() test instances
This commit is contained in:
parent
ba2bee61de
commit
55a99143c2
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ from aider.utils import ChdirTemporaryDirectory
|
||||||
class TestInputOutput(unittest.TestCase):
|
class TestInputOutput(unittest.TestCase):
|
||||||
def test_no_color_environment_variable(self):
|
def test_no_color_environment_variable(self):
|
||||||
with patch.dict(os.environ, {"NO_COLOR": "1"}):
|
with patch.dict(os.environ, {"NO_COLOR": "1"}):
|
||||||
io = InputOutput()
|
io = InputOutput(fancy_input=False)
|
||||||
self.assertFalse(io.pretty)
|
self.assertFalse(io.pretty)
|
||||||
|
|
||||||
def test_autocompleter_get_command_completions(self):
|
def test_autocompleter_get_command_completions(self):
|
||||||
|
@ -153,7 +153,7 @@ class TestInputOutput(unittest.TestCase):
|
||||||
|
|
||||||
@patch("builtins.input")
|
@patch("builtins.input")
|
||||||
def test_confirm_ask_with_group(self, mock_input):
|
def test_confirm_ask_with_group(self, mock_input):
|
||||||
io = InputOutput(pretty=False)
|
io = InputOutput(pretty=False, fancy_input=False)
|
||||||
group = ConfirmGroup()
|
group = ConfirmGroup()
|
||||||
|
|
||||||
# Test case 1: No group preference, user selects 'All'
|
# Test case 1: No group preference, user selects 'All'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue