mirror of
https://github.com/Aider-AI/aider
synced 2026-04-30 19:37:26 +02:00
style: format test_main.py with black
This commit is contained in:
@@ -681,11 +681,16 @@ class TestMain(TestCase):
|
||||
def test_set_env_multiple(self):
|
||||
# Test setting multiple environment variables
|
||||
with GitTemporaryDirectory():
|
||||
main([
|
||||
"--set-env", "TEST_VAR1=value1",
|
||||
"--set-env", "TEST_VAR2=value2",
|
||||
"--exit", "--yes"
|
||||
])
|
||||
main(
|
||||
[
|
||||
"--set-env",
|
||||
"TEST_VAR1=value1",
|
||||
"--set-env",
|
||||
"TEST_VAR2=value2",
|
||||
"--exit",
|
||||
"--yes",
|
||||
]
|
||||
)
|
||||
self.assertEqual(os.environ.get("TEST_VAR1"), "value1")
|
||||
self.assertEqual(os.environ.get("TEST_VAR2"), "value2")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user