Fixture function scope
This commit is contained in:
parent
9b390bdc2c
commit
5f78703af8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user