diff options
-rw-r--r-- | gitosis/test/test_repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitosis/test/test_repository.py b/gitosis/test/test_repository.py index 6bc9e76..0920c4a 100644 --- a/gitosis/test/test_repository.py +++ b/gitosis/test/test_repository.py @@ -70,7 +70,7 @@ def test_init_templates(): got = readFile(os.path.join(path, 'hooks', 'post-update')) eq(got, '#!/bin/sh\n# i can override standard templates\n') # standard templates are there, too - assert os.path.isfile(os.path.join(path, 'hooks', 'pre-rebase')) + assert (os.path.isfile(os.path.join(path, 'hooks', 'pre-rebase.sample')) or os.path.isfile(os.path.join(path, 'hooks', 'pre-rebase'))) def test_init_environment(): tmp = maketemp() |