aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests
diff options
context:
space:
mode:
Diffstat (limited to 'pygithub3/tests')
-rw-r--r--pygithub3/tests/services/test_pull_requests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygithub3/tests/services/test_pull_requests.py b/pygithub3/tests/services/test_pull_requests.py
index 8071b09..7fc15b7 100644
--- a/pygithub3/tests/services/test_pull_requests.py
+++ b/pygithub3/tests/services/test_pull_requests.py
@@ -113,7 +113,7 @@ class TestPullRequestsService(TestCase):
self.assertEqual(True, resp)
self.assertEqual(
reqm.call_args[0],
- ('get', _('repos/user/repo/pulls/123/merge'))
+ ('head', _('repos/user/repo/pulls/123/merge'))
)
def test_MERGE_STATUS_false(self, reqm):
@@ -122,7 +122,7 @@ class TestPullRequestsService(TestCase):
self.assertEqual(False, resp)
self.assertEqual(
reqm.call_args[0],
- ('get', _('repos/user/repo/pulls/123/merge'))
+ ('head', _('repos/user/repo/pulls/123/merge'))
)
def test_MERGE(self, reqm):