mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
test: disable analytics in test environment
This commit is contained in:
parent
edb0120bbf
commit
62558291b6
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ class TestMain(TestCase):
|
|||
self.original_env = os.environ.copy()
|
||||
os.environ["OPENAI_API_KEY"] = "deadbeef"
|
||||
os.environ["AIDER_CHECK_UPDATE"] = "false"
|
||||
os.environ["AIDER_ANALYTICS"] = "false"
|
||||
os.environ["AIDER_ANALYTICS_LOG"] = "/dev/null"
|
||||
self.original_cwd = os.getcwd()
|
||||
self.tempdir_obj = IgnorantTemporaryDirectory()
|
||||
self.tempdir = self.tempdir_obj.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue