mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-23 05:45:00 +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):
|
def test_api_key_multiple(self):
|
||||||
# Test setting multiple API keys
|
# Test setting multiple API keys
|
||||||
with GitTemporaryDirectory():
|
with GitTemporaryDirectory():
|
||||||
main([
|
main(["--api-key", "anthropic=key1", "--api-key", "openai=key2", "--exit", "--yes"])
|
||||||
"--api-key", "anthropic=key1",
|
|
||||||
"--api-key", "openai=key2",
|
|
||||||
"--exit", "--yes"
|
|
||||||
])
|
|
||||||
self.assertEqual(os.environ.get("ANTHROPIC_API_KEY"), "key1")
|
self.assertEqual(os.environ.get("ANTHROPIC_API_KEY"), "key1")
|
||||||
self.assertEqual(os.environ.get("OPENAI_API_KEY"), "key2")
|
self.assertEqual(os.environ.get("OPENAI_API_KEY"), "key2")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue