From 00490679195bc1d5eabae7e5430ff8efb80d69f8 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Tue, 15 Apr 2025 23:32:18 +0200 Subject: [PATCH] Enable multi-api-key secrets v2 --- test/test_solve_issue_in_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_solve_issue_in_repository.py b/test/test_solve_issue_in_repository.py index 33c90c8..0377094 100644 --- a/test/test_solve_issue_in_repository.py +++ b/test/test_solve_issue_in_repository.py @@ -19,7 +19,7 @@ class TestSolveIssueInRepository: self.issue_description = 'This is a test issue' self.issue_number = '123' - @patch('aider_gitea.secrets.llm_api_key', return_value='fake-api-key') + @patch('aider_gitea.secrets.llm_api_keys', return_value='fake-api-key') @patch('aider_gitea.run_cmd') @patch('aider_gitea.push_changes') @patch('subprocess.run') @@ -54,7 +54,7 @@ class TestSolveIssueInRepository: assert mock_run_cmd.call_count >= 8 # Verify all expected commands were run mock_push_changes.assert_called_once() - @patch('aider_gitea.secrets.llm_api_key', return_value='fake-api-key') + @patch('aider_gitea.secrets.llm_api_keys', return_value='fake-api-key') @patch('aider_gitea.run_cmd') @patch('aider_gitea.push_changes') @patch('subprocess.run')