mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
cleanup
This commit is contained in:
parent
c4a07f1f84
commit
7c1e3c1b6a
1 changed files with 2 additions and 3 deletions
|
@ -34,9 +34,8 @@ class TestMain(TestCase):
|
|||
def test_main_with_empty_dir_no_files_on_command(self):
|
||||
main(["--no-git"], input=DummyInput(), output=DummyOutput())
|
||||
|
||||
@patch("aider.repo.AiderRepo.get_commit_message", return_value="commit message!")
|
||||
def test_main_with_empty_dir_new_file(self, _):
|
||||
main(["foo.txt", "--yes","--no-git"], input=DummyInput(), output=DummyOutput())
|
||||
def test_main_with_empty_dir_new_file(self):
|
||||
main(["foo.txt", "--yes", "--no-git"], input=DummyInput(), output=DummyOutput())
|
||||
self.assertTrue(os.path.exists("foo.txt"))
|
||||
|
||||
@patch("aider.repo.AiderRepo.get_commit_message", return_value="mock commit message")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue