mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
style: format test_main.py line breaks
This commit is contained in:
parent
13ff038e58
commit
7ddcc30e8d
1 changed files with 1 additions and 5 deletions
|
@ -715,11 +715,7 @@ class TestMain(TestCase):
|
|||
def test_api_key_multiple(self):
|
||||
# Test setting multiple API keys
|
||||
with GitTemporaryDirectory():
|
||||
main([
|
||||
"--api-key", "anthropic=key1",
|
||||
"--api-key", "openai=key2",
|
||||
"--exit", "--yes"
|
||||
])
|
||||
main(["--api-key", "anthropic=key1", "--api-key", "openai=key2", "--exit", "--yes"])
|
||||
self.assertEqual(os.environ.get("ANTHROPIC_API_KEY"), "key1")
|
||||
self.assertEqual(os.environ.get("OPENAI_API_KEY"), "key2")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue