diff options
author | 2012-04-19 09:57:34 -0500 | |
---|---|---|
committer | 2012-04-19 09:57:34 -0500 | |
commit | 9008296715194c150e7eeb16469005d771f7d370 (patch) | |
tree | 62fe10a0a0dd6f5738de0cd7f47ac3c7b670dbc1 /pygithub3/tests | |
parent | merge request won't json encode body without schema (diff) | |
download | python-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.py | 4 |
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): |