Add function scope

This commit is contained in:
psakiev 2023-01-09 15:27:27 -07:00
parent 9c690a1ef5
commit 8cc69cecfc

View File

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