Add GiteaClient get_pull_request_comments method #71

Closed
Jmaa wants to merge 4 commits from jmaa/issue-67-add-giteaclient-getpullrequestcomments-method into main
Showing only changes of commit d2691e2eba - Show all commits

View File

@ -46,5 +46,5 @@ class TestGiteaClient:
assert comments == expected_comments assert comments == expected_comments
# Verify the correct URL was called # 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) mock_get.assert_called_once_with(expected_url)