Skip to content

Commit 9fa6cb0

Browse files
committed
Fix testing/test_git.py::test_git_archive_export_ignore
Ensure `$HOME` is unset, since otherwise `init.templatedir` might get picked up from the user's config, which might e.g. not include the `.git/info` dir then.
1 parent cdb09b1 commit 9fa6cb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testing/test_git.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111

1212
@pytest.fixture
13-
def wd(wd):
13+
def wd(wd, monkeypatch):
14+
monkeypatch.delenv("HOME", raising=False)
1415
wd("git init")
1516
wd("git config user.email [email protected]")
1617
wd('git config user.name "a test"')

0 commit comments

Comments
 (0)