mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
AiderRepo -> GitRepo
This commit is contained in:
parent
7c1e3c1b6a
commit
9f8ea93ce6
4 changed files with 12 additions and 26 deletions
|
@ -38,7 +38,7 @@ class TestMain(TestCase):
|
|||
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")
|
||||
@patch("aider.repo.GitRepo.get_commit_message", return_value="mock commit message")
|
||||
def test_main_with_empty_git_dir_new_file(self, _):
|
||||
make_repo()
|
||||
main(["--yes", "foo.txt"], input=DummyInput(), output=DummyOutput())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue