mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Merge pull request #134 from pre-commit/osx_tests
Make more tests pass in osx
This commit is contained in:
commit
e2d2c17218
4 changed files with 10 additions and 7 deletions
|
|
@ -139,7 +139,8 @@ def test_environment_not_sourced(tmpdir_factory):
|
|||
|
||||
ret, stdout, stderr = local['git'].run(
|
||||
['commit', '--allow-empty', '-m', 'foo'],
|
||||
env={},
|
||||
# XXX: 'HOME' makes this test pass on OSX
|
||||
env={'HOME': os.environ['HOME']},
|
||||
retcode=None,
|
||||
)
|
||||
assert ret == 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue