Fix testCommentCommit (create_xxx, delete, edit)

This commit is contained in:
Vincent Jacques
2012-05-04 14:11:01 +02:00
parent 229b218ce6
commit 5b1bfe7c39
24 changed files with 1031 additions and 100 deletions
+7 -2
View File
@@ -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
)