mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
cleanup test
This commit is contained in:
parent
82b6f83a98
commit
0d66f803b4
1 changed files with 5 additions and 2 deletions
|
@ -152,7 +152,8 @@ class TestRepo(unittest.TestCase):
|
|||
raw_repo.git.add(str(fname))
|
||||
raw_repo.git.commit("-m", "initial commit")
|
||||
|
||||
git_repo = GitRepo(InputOutput(), None, None)
|
||||
io = InputOutput()
|
||||
git_repo = GitRepo(io, None, None)
|
||||
|
||||
# commit a change
|
||||
fname.write_text("new content")
|
||||
|
@ -178,8 +179,10 @@ class TestRepo(unittest.TestCase):
|
|||
original_author_name = os.environ.get("GIT_AUTHOR_NAME")
|
||||
self.assertIsNone(original_author_name)
|
||||
|
||||
del raw_repo
|
||||
del fname
|
||||
del git_repo
|
||||
del raw_repo
|
||||
del io
|
||||
|
||||
def test_get_tracked_files(self):
|
||||
# Create a temporary directory
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue