Fixture function scope
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user