Add integration test for existing install behaviour

This commit is contained in:
Anthony Sottile 2014-06-16 08:20:47 -07:00
parent 332e8b480b
commit 4b43fd8cdc
4 changed files with 60 additions and 1 deletions

View file

@ -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