예제 #1
0
파일: test_hook.py 프로젝트: CMGS/ellen
 def test_update(self):
     repo = Jagare(self.path)
     path = os.path.join(self.path, 'hooks')
     assert os.path.islink(path) is False
     target = '/'
     update_hooks(repo.repository, target)
     assert os.path.islink(path) is True
     assert os.path.realpath(path) == target
예제 #2
0
파일: test_hook.py 프로젝트: tclh123/ellen
 def test_update(self):
     repo = Jagare(self.path)
     path = os.path.join(self.path, 'hooks')
     assert os.path.islink(path) is False
     target = '/'
     update_hooks(repo.repository, target)
     assert os.path.islink(path) is True
     assert os.path.realpath(path) == target
예제 #3
0
파일: repo.py 프로젝트: alexband/ellen
 def update_hooks(self, path):
     return update_hooks(self.repository, path)
예제 #4
0
 def update_hooks(self, path):
     return update_hooks(self.repository, path)