api: added get_comment method, and return versions for comments to allow simple edits via API.

This commit is contained in:
Marcin Kuzminski 2020-07-10 11:49:52 +02:00
parent 97a12ce1b9
commit 9cadf302eb
7 changed files with 204 additions and 91 deletions

View file

@ -61,6 +61,7 @@ class TestGetPullRequestComments(object):
'comment_type': 'note',
'comment_resolved_by': None,
'pull_request_version': None,
'comment_last_version': 0,
'comment_commit_id': None,
'comment_pull_request_id': pull_request.pull_request_id
}