summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-12-01 00:11:35 +0100
committerGitHub <noreply@github.com>2023-11-30 15:11:35 -0800
commit04f64d4ac68c458673e4ce06a2344c7f234e62f1 (patch)
tree9ff9707b6c2491b6a373e3b01ad240f4d2652da9 /lib
parent779fef7d41779fcddfc78fba9ab7e895f970b00c (diff)
downloadspack-04f64d4ac68c458673e4ce06a2344c7f234e62f1.tar.gz
spack-04f64d4ac68c458673e4ce06a2344c7f234e62f1.tar.bz2
spack-04f64d4ac68c458673e4ce06a2344c7f234e62f1.tar.xz
spack-04f64d4ac68c458673e4ce06a2344c7f234e62f1.zip
tests: use temporary_store (#41369)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/test/cmd/env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/test/cmd/env.py b/lib/spack/spack/test/cmd/env.py
index 3fd40867eb..4402dd0ba1 100644
--- a/lib/spack/spack/test/cmd/env.py
+++ b/lib/spack/spack/test/cmd/env.py
@@ -3540,7 +3540,7 @@ def test_environment_created_in_users_location(mutable_mock_env_path, tmp_path):
assert os.path.isdir(os.path.join(env_dir, dir_name))
-def test_environment_created_from_lockfile_has_view(mock_packages, tmpdir):
+def test_environment_created_from_lockfile_has_view(mock_packages, temporary_store, tmpdir):
"""When an env is created from a lockfile, a view should be generated for it"""
env_a = str(tmpdir.join("a"))
env_b = str(tmpdir.join("b"))