mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-11 23:25:01 +00:00
removed dotenv
This commit is contained in:
parent
1fb1765b38
commit
139a141be9
2 changed files with 7 additions and 28 deletions
|
@ -74,15 +74,3 @@ class TestMain(TestCase):
|
|||
main(["--dirty-commits"])
|
||||
_, kwargs = MockCoder.call_args
|
||||
assert kwargs["dirty_commits"] is True
|
||||
|
||||
|
||||
def test_main_pretty_from_env(self):
|
||||
with tempfile.TemporaryDirectory() as temp_dir:
|
||||
os.chdir(temp_dir)
|
||||
with open(".env", "w") as env_file:
|
||||
env_file.write("AIDER_PRETTY=false\n")
|
||||
|
||||
with patch("aider.main.Coder") as MockCoder:
|
||||
main([])
|
||||
_, kwargs = MockCoder.call_args
|
||||
assert kwargs["pretty"] is False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue