Fixture function scope

This commit is contained in:
psakiev 2023-02-21 08:53:07 -07:00
parent 9b390bdc2c
commit 5f78703af8

View File

@ -1551,7 +1551,7 @@ def get_rev():
yield t
@pytest.fixture()
@pytest.fixture(scope="function")
def mutable_mock_env_path(tmpdir_factory, mutable_config):
"""Fixture for mocking the internal spack environments directory."""
saved_path = ev.environment.default_env_path