Show More
@@ -790,7 +790,7 b' class GitHooksTest(unittest.TestCase):' | |||||
790 | # Create a dictionary where keys are hook names, and values are paths to |
|
790 | # Create a dictionary where keys are hook names, and values are paths to | |
791 | # them. Deduplicates code in tests a bit. |
|
791 | # them. Deduplicates code in tests a bit. | |
792 | self.hook_directory = self.repo.get_hook_location() |
|
792 | self.hook_directory = self.repo.get_hook_location() | |
793 |
self.kallithea_hooks = |
|
793 | self.kallithea_hooks = dict((h, os.path.join(self.hook_directory, h)) for h in ("pre-receive", "post-receive")) | |
794 |
|
794 | |||
795 | def test_hooks_created_if_missing(self): |
|
795 | def test_hooks_created_if_missing(self): | |
796 | """ |
|
796 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now