style: format test_main.py line breaks

This commit is contained in:
Paul Gauthier (aider) 2024-12-07 08:23:58 -08:00
parent 13ff038e58
commit 7ddcc30e8d

View file

@ -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")