Fixed test
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 24s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2025-04-13 16:23:53 +02:00
parent fca65f73c5
commit 8c9194975b
4 changed files with 4 additions and 3 deletions

View File

@ -151,7 +151,7 @@ def main():
logger.exception('Error processing issue')
sys.exit(1)
body = f"Automatically generated pull request for issue: {issue.get('html_url', 'unknown')}"
body = f"This pull request resolves {issue.get('html_url', 'unknown')}"
try:
pr = client.create_pull_request(args.owner, args.repo, f"[Issue {issue_number}] {title}", branch_name, args.base_branch, body)
logger.info(f"Created pull request: {pr.get('html_url', 'unknown')} for issue {issue_number}.")

View File

@ -1,7 +1,7 @@
SECRETS = secret_loader.SecretLoader()
import secret_loader
SECRETS = secret_loader.SecretLoader()
def llm_api_key():
return SECRETS.load_or_fail('LLM_API_KEY')

View File

@ -1,4 +1,5 @@
def test_init():
import aider_gitea #noqa: F401
import aider_gitea.secrets #noqa: F401