(in_git_dir, store)
| 114 | |
| 115 | |
| 116 | def test_uninstall(in_git_dir, store): |
| 117 | assert not in_git_dir.join('.git/hooks/pre-commit').exists() |
| 118 | install(C.CONFIG_FILE, store, hook_types=['pre-commit']) |
| 119 | assert in_git_dir.join('.git/hooks/pre-commit').exists() |
| 120 | uninstall(C.CONFIG_FILE, hook_types=['pre-commit']) |
| 121 | assert not in_git_dir.join('.git/hooks/pre-commit').exists() |
| 122 | |
| 123 | |
| 124 | def _get_commit_output(tempdir_factory, touch_file='foo', **kwargs): |