We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457fafe commit 9b164adCopy full SHA for 9b164ad
tests/conftest.py
@@ -22,6 +22,11 @@ def user_path(home_path: pathlib.Path):
22
return p
23
24
25
+@pytest.fixture(autouse=True)
26
+def set_user_path(monkeypatch: pytest.MonkeyPatch, user_path: pathlib.Path):
27
+ monkeypatch.setenv("HOME", str(user_path))
28
+
29
30
@pytest.fixture(scope="function")
31
def repos_path(user_path: pathlib.Path, request: pytest.FixtureRequest):
32
"""Return temporary directory for repository checkout guaranteed unique."""
0 commit comments