Add function scope
This commit is contained in:
parent
9c690a1ef5
commit
8cc69cecfc
@ -1551,7 +1551,7 @@ def get_rev():
|
|||||||
yield t
|
yield t
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture(scope="function")
|
||||||
def mutable_mock_env_path(tmpdir, mutable_config):
|
def mutable_mock_env_path(tmpdir, mutable_config):
|
||||||
"""Fixture for mocking the internal spack environments directory."""
|
"""Fixture for mocking the internal spack environments directory."""
|
||||||
saved_path = ev.environment.default_env_path
|
saved_path = ev.environment.default_env_path
|
||||||
|
Loading…
Reference in New Issue
Block a user