Skip to content

Commit

Permalink
Ensure that tmp_home_dir is used for all tests.
Browse files Browse the repository at this point in the history
Confirmed fixes #35
  • Loading branch information
jaraco committed Aug 1, 2024
1 parent 202e408 commit 689c2a7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
from jaraco import vcs


# isolate the tests from a developer's VCS config
pytestmark = pytest.mark.usefixtures('tmp_home_dir')
@pytest.fixture(autouse=True)
def _isolate_home(tmp_home_dir):
"""Isolate the tests from a developer's VCS config."""


def _ensure_present(mgr):
Expand Down

0 comments on commit 689c2a7

Please sign in to comment.