diff --git a/test/test_gitea_client.py b/test/test_gitea_client.py index 1524627..951657e 100644 --- a/test/test_gitea_client.py +++ b/test/test_gitea_client.py @@ -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)