Skip to content

Commit

Permalink
Add tmp_home fixutre to test_git_repo
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed May 10, 2024
1 parent e977362 commit d9d60bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datalad_fuse/tests/test_fsspec_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_subdataset_get_bytes_binary(superdataset):
)


def test_git_repo(tmp_path):
def test_git_repo(tmp_path, tmp_home): # noqa: U100
subprocess.run(["git", "init"], cwd=tmp_path, check=True)
TEXT = (Path(__file__).with_name("data") / "text.txt").read_bytes()
(tmp_path / "text.txt").write_bytes(TEXT)
Expand Down

0 comments on commit d9d60bc

Please sign in to comment.