8000 Update create_comment unit test · pythonthings/github3.py@edd2af5 · GitHub
[go: up one dir, main page]

Skip to content

Commit edd2af5

Browse files
committed
Update create_comment unit test
1 parent dd8306c commit edd2af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/test_pulls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_create_comment(self):
3838
"""Show that a user can comment on a PR."""
3939
self.instance.create_comment('body')
4040

41-
self.instance.issue().session.post.assert_called_once_with(
41+
self.post_called_with(
4242
url_for('comments').replace('pulls', 'issues'),
4343
data={'body': 'body'}
4444
)

0 commit comments

Comments
 (0)
0