mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 04:44:59 +00:00
added import
This commit is contained in:
parent
f1b61d49e9
commit
db8fb97a38
1 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,7 @@ import unittest
|
|||
from pathlib import Path
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
import git
|
||||
import openai
|
||||
import requests
|
||||
|
||||
|
@ -374,7 +375,9 @@ class TestCoder(unittest.TestCase):
|
|||
repo.git.add(filename)
|
||||
|
||||
# Create a Coder object on the temporary directory
|
||||
coder = Coder.create(models.GPT4, None, io=InputOutput(), openai_api_key="fake_key", root=tempdir)
|
||||
coder = Coder.create(
|
||||
models.GPT4, None, io=InputOutput(), openai_api_key="fake_key", root=tempdir
|
||||
)
|
||||
|
||||
# Assert that coder.get_tracked_files() returns the three filenames
|
||||
self.assertEqual(set(coder.get_tracked_files()), set(filenames))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue