style: Fix linter warnings in test_commands.py

This commit is contained in:
Paul Gauthier (aider) 2024-11-21 06:36:11 -08:00
parent 2e4cf48e7e
commit 9a7bdcb6db

View file

@ -1069,7 +1069,7 @@ class TestCommands(TestCase):
# Test the cmd_run method with a command that should not raise an error
commands.cmd_run("exit 1", add_on_nonzero_exit=True)
# Check that the output was added to cur_messages
self.assertTrue(any("exit 1" in msg["content"] for msg in coder.cur_messages))