mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Fix testCommentCommit (create_xxx, delete, edit)
This commit is contained in:
@@ -43,7 +43,12 @@ class IssueComment( object ):
|
||||
return self.__user
|
||||
|
||||
def delete( self ):
|
||||
pass
|
||||
status, headers, data = self.__requester.request(
|
||||
"DELETE",
|
||||
self.url,
|
||||
None,
|
||||
None
|
||||
)
|
||||
|
||||
def edit( self, body ):
|
||||
post_parameters = {
|
||||
@@ -51,7 +56,7 @@ class IssueComment( object ):
|
||||
}
|
||||
status, headers, data = self.__requester.request(
|
||||
"PATCH",
|
||||
"https://api.github.com/user",
|
||||
self.url,
|
||||
None,
|
||||
post_parameters
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user