mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
style: Fix whitespace and formatting in onboarding tests
This commit is contained in:
parent
8a90af6779
commit
6c9906c639
1 changed files with 7 additions and 4 deletions
|
@ -478,7 +478,10 @@ class TestOnboarding(unittest.TestCase):
|
|||
# and verify subsequent steps (exchange_code_for_key, saving key) are called.
|
||||
|
||||
# We need to set auth_code within the function, so let's patch it directly
|
||||
with patch("aider.onboarding.start_openrouter_oauth_flow.__globals__", {"auth_code": "mock_auth_code"}):
|
||||
with patch(
|
||||
"aider.onboarding.start_openrouter_oauth_flow.__globals__",
|
||||
{"auth_code": "mock_auth_code"},
|
||||
):
|
||||
mock_event_cls.side_effect = [mock_server_started_event, mock_shutdown_event]
|
||||
|
||||
# Mock the server thread itself
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue