Skip to content

Commit 40accec

Browse files
committed
tests: Move home_default to usefixtures
1 parent f22c932 commit 40accec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libvcs/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ def user_path(home_path: pathlib.Path):
5050

5151

5252
@pytest.fixture(autouse=True)
53+
@pytest.mark.usefixtures("home_default")
5354
@skip_if_git_missing
54-
def gitconfig(user_path: pathlib.Path, home_default: pathlib.Path):
55+
def gitconfig(user_path: pathlib.Path):
5556
gitconfig = user_path / ".gitconfig"
5657
user_email = "libvcs@git-pull.com"
5758
gitconfig.write_text(

0 commit comments

Comments
 (0)