mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Add integration test for existing install behaviour
This commit is contained in:
parent
332e8b480b
commit
4b43fd8cdc
4 changed files with 60 additions and 1 deletions
|
|
@ -66,4 +66,7 @@ def make_consuming_repo(tmpdir_factory, repo_source):
|
|||
config = make_config_from_repo(path)
|
||||
git_path = git_dir(tmpdir_factory)
|
||||
write_config(git_path, config)
|
||||
with local.cwd(git_path):
|
||||
git('add', C.CONFIG_FILE)
|
||||
git('commit', '-m', 'Add hooks config')
|
||||
return git_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue