aboutsummaryrefslogtreecommitdiffstats
path: root/pygithub3/tests
diff options
context:
space:
mode:
authorDavid Medina <davidmedina9@gmail.com>2012-05-17 22:59:33 +0200
committerDavid Medina <davidmedina9@gmail.com>2012-05-17 22:59:33 +0200
commit8c64210622d2d3aeabb3c23522e27dcebe2fe706 (patch)
tree7e4a9f1ce26a7f373dd7034f1657d8438b5fc00c /pygithub3/tests
parentReadme and authors updated (diff)
downloadpython-github3-8c64210622d2d3aeabb3c23522e27dcebe2fe706.tar.xz
python-github3-8c64210622d2d3aeabb3c23522e27dcebe2fe706.zip
refs #10
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 93646df..4a9fd41 100644
--- a/pygithub3/tests/services/test_pull_requests.py
+++ b/pygithub3/tests/services/test_pull_requests.py
@@ -170,12 +170,12 @@ class TestPullRequestCommentsService(TestCase):
('post', _('repos/user/repo/pulls/1/comments'))
)
- def test_EDIT(self, reqm):
+ def test_UPDATE(self, reqm):
reqm.return_value = mock_response(200)
data = {
'body': 'something completely different',
}
- self.service.edit(1, data)
+ self.service.update(1, data)
self.assertEqual(
reqm.call_args[0],
('patch', _('repos/user/repo/pulls/comments/1'))