test: add assertion for suggest_shell_commands flag

This commit is contained in:
Paul Gauthier (aider) 2024-11-25 18:41:21 -08:00
parent af48e50898
commit 2957d463c9

View file

@ -821,6 +821,7 @@ This command will print 'Hello, World!' to the console."""
with GitTemporaryDirectory():
io = InputOutput(yes=True)
coder = Coder.create(self.GPT35, "diff", io=io, suggest_shell_commands=False)
self.assertFalse(coder.suggest_shell_commands)
def test_detect_urls_enabled(self):
with GitTemporaryDirectory():