aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests
diff options
context:
space:
mode:
authorNat Williams <nwilliams@leapfrogonline.com>2012-04-19 09:57:34 -0500
committerNat Williams <nwilliams@leapfrogonline.com>2012-04-19 09:57:34 -0500
commit9008296715194c150e7eeb16469005d771f7d370 (patch)
tree62fe10a0a0dd6f5738de0cd7f47ac3c7b670dbc1 /pygithub3/tests
parentmerge request won't json encode body without schema (diff)
downloadpython-github3-9008296715194c150e7eeb16469005d771f7d370.tar.xz
python-github3-9008296715194c150e7eeb16469005d771f7d370.zip
use _bool for pull request merge status
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):