Example #1
0
 def tryToUpdateMaster():
     Hooks.update("refs/heads/master","0" * 40, "0" * 40)
Example #2
0
 def tryToUpdateTag():
     Hooks.update("tags/init","0" * 40, "0" * 40)
Example #3
0
 def testUpdate(self):
     """ Telekommie should allow pushing to a new branch
     """
     self.git.setAccessResponse('Dmytri Kleiner')
     Hooks.update("refs/heads/newbranch","A" * 40, "F" * 40, self.git)