Test GitRef attributes

This commit is contained in:
Vincent Jacques
2012-05-10 19:47:20 +02:00
parent efa58887aa
commit 3c71195916
8 changed files with 157 additions and 14 deletions
+3 -3
View File
@@ -261,7 +261,7 @@ class Repository( object ):
}
status, headers, data = self.__requester.request(
"POST",
str( self.url ) + "/git/refs",
str( self.url ) + "/git",
None,
post_parameters
)
@@ -563,7 +563,7 @@ class Repository( object ):
def get_git_ref( self, ref ):
status, headers, data = self.__requester.request(
"GET",
str( self.url ) + "/git/refs" + "/" + str( ref ),
str( self.url ) + "/git" + "/" + str( ref ),
None,
None
)
@@ -572,7 +572,7 @@ class Repository( object ):
def get_git_refs( self ):
status, headers, data = self.__requester.request(
"GET",
str( self.url ) + "/git/refs",
str( self.url ) + "/git",
None,
None
)