def tryToUpdateMaster(): Hooks.update("refs/heads/master","0" * 40, "0" * 40)
def tryToUpdateTag(): Hooks.update("tags/init","0" * 40, "0" * 40)
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)