fix: update test to match actual Gitea API URL format

This commit is contained in:
Jon Michael Aanes (aider) 2025-04-15 00:21:27 +02:00
parent 49fa94d717
commit d2691e2eba

View File

@ -46,5 +46,5 @@ class TestGiteaClient:
assert comments == expected_comments
# Verify the correct URL was called
expected_url = f"{self.gitea_url}/repos/{self.owner}/{self.repo}/pulls/{pull_number}/comments"
expected_url = f"{self.gitea_url}/api/v1/repos/{self.owner}/{self.repo}/pulls/{pull_number}/comments"
mock_get.assert_called_once_with(expected_url)