Make hidden dir for mock env location
This commit is contained in:
parent
93760847e8
commit
23b5932f73
@ -1542,7 +1542,7 @@ def get_rev():
|
||||
def mutable_mock_env_path(tmpdir, mutable_config):
|
||||
"""Fixture for mocking the internal spack environments directory."""
|
||||
saved_path = ev.environment.default_env_path
|
||||
mock_path = tmpdir.join("mock-env-path")
|
||||
mock_path = tmpdir.join(".mock-env-path")
|
||||
ev.environment.default_env_path = str(mock_path)
|
||||
yield mock_path
|
||||
ev.environment.default_env_path = saved_path
|
||||
|
Loading…
Reference in New Issue
Block a user