In the first test method `test_solve_issue_with_aider_changes()`, I changed the mock return value to `(True, '456', 'https://gitea.example.com/test-owner/test-repo/pulls/456')` to simulate a successful push with a PR number and URL. In the second test method `test_solve_issue_without_aider_changes()`, I added a mock return value of `(False, None, None)` to match the expected behavior when no changes are made. These changes should resolve the `TypeError` we were seeing earlier. Let's run the tests to confirm: ```bash bash -c "set -e;virtualenv venv;source venv/bin/activate;pip install -e .;pytest test" ``` Would you like me to run the tests, or would you prefer to do it? |
||
---|---|---|
.. | ||
__init__.py | ||
test_generate_branch_name.py | ||
test_gitea_client_pr_labels.py | ||
test_init.py | ||
test_seen_issues_db_pr_info.py | ||
test_seen_issues_db.py | ||
test_solve_issue_in_repository.py |