mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: format test_main.py with black
This commit is contained in:
parent
e10d06cb47
commit
af3d8dd6a7
1 changed files with 10 additions and 5 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue