Add GiteaClient get_pull_request_comments method #71
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user