Added validate_environment=False to tests

This commit is contained in:
Paul Gauthier 2024-04-20 08:17:50 -07:00
parent 6863b47e6a
commit 9b26eeb9eb
7 changed files with 19 additions and 17 deletions

View file

@ -10,7 +10,7 @@ from aider.utils import IgnorantTemporaryDirectory
class TestRepoMap(unittest.TestCase):
def setUp(self):
self.GPT35 = Model("gpt-3.5-turbo")
self.GPT35 = Model("gpt-3.5-turbo", validate_environment=False)
def test_get_repo_map(self):
# Create a temporary directory with sample files for testing
@ -156,7 +156,7 @@ print(my_function(3, 4))
class TestRepoMapTypescript(unittest.TestCase):
def setUp(self):
self.GPT35 = Model("gpt-3.5-turbo")
self.GPT35 = Model("gpt-3.5-turbo", validate_environment=False)
def test_get_repo_map_typescript(self):
# Create a temporary directory with a sample TypeScript file