mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
fix: Call check_version in main with input and output arguments
This commit is contained in:
parent
58f06e1f56
commit
fcf758527a
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class TestMain(TestCase):
|
|||
def test_main_exit_calls_version_check(self):
|
||||
with GitTemporaryDirectory():
|
||||
with patch("aider.main.check_version") as mock_check_version:
|
||||
main(["--exit"])
|
||||
main(["--exit"], input=DummyInput(), output=DummyOutput())
|
||||
mock_check_version.assert_called_once()
|
||||
|
||||
@patch("aider.main.InputOutput")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue